Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
@@ -0,0 +1,21 @@
$NetBSD: patch-src_plugins_contrib_wxContribItems_wxchart_configure,v 1.1 2016/06/16 02:28:51 kamil Exp $
Fix shell portability issue.
--- src/plugins/contrib/wxContribItems/wxchart/configure.orig 2016-01-23 16:43:13.000000000 +0000
+++ src/plugins/contrib/wxContribItems/wxchart/configure
@@ -5618,7 +5618,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6
SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
fi
- if test "x$GCC" == "xyes"; then
+ if test "x$GCC" = "xyes"; then
PIC_FLAG="-dynamic -fPIC"
fi
if test "x$XLCC" = "xyes"; then
@@ -7811,5 +7811,3 @@ echo "$as_me: error:
echo " Now, just run make."
echo " ----------------------------------------------------------------"
echo
-
-
@@ -0,0 +1,22 @@
$NetBSD: patch-src_plugins_contrib_wxContribItems_wxthings_configure,v 1.1 2016/06/16 02:28:51 kamil Exp $
Fix shell portability issue.
--- src/plugins/contrib/wxContribItems/wxthings/configure.orig 2016-01-23 16:43:14.000000000 +0000
+++ src/plugins/contrib/wxContribItems/wxthings/configure
@@ -4619,7 +4619,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6;
SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
fi
- if test "x$GCC" == "xyes"; then
+ if test "x$GCC" = "xyes"; then
PIC_FLAG="-dynamic -fPIC"
fi
if test "x$XLCC" = "xyes"; then
@@ -6966,6 +6966,3 @@ fi
echo " Now, just run make."
echo " ----------------------------------------------------------------"
echo
-
-
-
@@ -0,0 +1,22 @@
$NetBSD: patch-src_sdk_wxpropgrid_configure,v 1.1 2016/06/16 02:28:51 kamil Exp $
Fix shell portability issue.
--- src/sdk/wxpropgrid/configure.orig 2016-01-23 16:43:00.000000000 +0000
+++ src/sdk/wxpropgrid/configure
@@ -4628,7 +4628,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6
SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
fi
- if test "x$GCC" == "xyes"; then
+ if test "x$GCC" = "xyes"; then
PIC_FLAG="-dynamic -fPIC"
fi
if test "x$XLCC" = "xyes"; then
@@ -6835,6 +6835,3 @@ fi
echo " Now, just run make."
echo " ----------------------------------------------------------------"
echo
-
-
-
@@ -0,0 +1,15 @@
$NetBSD: patch-src_src_appglobals.cpp,v 1.1 2016/06/16 02:28:51 kamil Exp $
Detect NetBSD as NetBSD.
--- src/src/appglobals.cpp.orig 2016-01-23 16:43:03.000000000 +0000
+++ src/src/appglobals.cpp
@@ -49,6 +49,8 @@ namespace appglobals
const wxString AppPlatform = _T("Darwin");
#elif defined(__FreeBSD__)
const wxString AppPlatform = _T("FreeBSD");
+#elif defined(__NetBSD__)
+ const wxString AppPlatform = _T("NetBSD");
#elif defined(__UNIX__)
const wxString AppPlatform = _T("Linux");
#else
@@ -0,0 +1,16 @@
$NetBSD: patch-src_src_prefix.cpp,v 1.1 2016/06/16 02:28:51 kamil Exp $
Unbreak build on NetBSD. Stop redefining NULL as an arbitrary value.
--- src/src/prefix.cpp.orig 2016-01-23 16:43:04.000000000 +0000
+++ src/src/prefix.cpp
@@ -55,9 +55,6 @@ extern "C" {
#endif /* __cplusplus */
-#undef NULL
-#define NULL ((void *) 0)
-
#ifdef __GNUC__
#define br_return_val_if_fail(expr,val) if (!(expr)) {fprintf (stderr, "** BinReloc (%s): assertion %s failed\n", __PRETTY_FUNCTION__, #expr); return val;}
#else