Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_engine_ControlSocket.cpp,v 1.1 2015/07/08 16:46:43 richard Exp $
upstream workaround for clash with 'struct mutex' on SunOS
--- src/engine/ControlSocket.cpp.orig 2015-03-28 04:30:03.000000000 +0000
+++ src/engine/ControlSocket.cpp
@@ -14,7 +14,9 @@
#include <wx/filename.h>
#ifndef __WXMSW__
+ #define mutex mutex_override // Sadly on some platforms system headers include conflicting names
#include <netdb.h>
+ #undef mutex
#ifndef AI_IDN
#include <idna.h>
extern "C" {