summaryrefslogtreecommitdiff
path: root/devel/poco/patches/patch-build_config_SunOS-GCC
diff options
context:
space:
mode:
Diffstat (limited to 'devel/poco/patches/patch-build_config_SunOS-GCC')
-rw-r--r--devel/poco/patches/patch-build_config_SunOS-GCC6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/poco/patches/patch-build_config_SunOS-GCC b/devel/poco/patches/patch-build_config_SunOS-GCC
index 1238d94945e..52d21022233 100644
--- a/devel/poco/patches/patch-build_config_SunOS-GCC
+++ b/devel/poco/patches/patch-build_config_SunOS-GCC
@@ -1,8 +1,8 @@
-$NetBSD: patch-build_config_SunOS-GCC,v 1.3 2012/07/29 11:26:54 fhajny Exp $
+$NetBSD: patch-build_config_SunOS-GCC,v 1.4 2016/01/16 12:15:12 ryoon Exp $
Resolve a conflict on SunOS, where GCC>=4.6 will force C99 with C++
and require _XOPEN_SOURCE=600, whereas GCC<4.6 will reject C99 with C++.
---- build/config/SunOS-GCC.orig 2011-09-24 08:06:59.000000000 +0000
+--- build/config/SunOS-GCC.orig 2015-08-04 05:20:55.000000000 +0000
+++ build/config/SunOS-GCC
@@ -21,6 +21,8 @@ LINK = $(CXX)
LIB = ar -cr
@@ -45,5 +45,5 @@ and require _XOPEN_SOURCE=600, whereas GCC<4.6 will reject C99 with C++.
#
# System Specific Libraries
#
--SYSLIBS = -lpthread -ldl -lrt
+-SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl
+SYSLIBS = -lpthread -ldl -lrt -lxnet -lsocket -lnsl -lresolv -ldl