pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/skalibs Lower _XOPEN_SOURCE to fix SmartOS build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58b09873a6e0
branches:  trunk
changeset: 309722:58b09873a6e0
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Jun 22 16:16:53 2018 +0000

description:
Lower _XOPEN_SOURCE to fix SmartOS build.

diffstat:

 devel/skalibs/Makefile                |   6 +++---
 devel/skalibs/distinfo                |   3 ++-
 devel/skalibs/patches/patch-configure |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 4e936bea24f0 -r 58b09873a6e0 devel/skalibs/Makefile
--- a/devel/skalibs/Makefile    Fri Jun 22 15:56:56 2018 +0000
+++ b/devel/skalibs/Makefile    Fri Jun 22 16:16:53 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.1 2017/10/03 00:31:39 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2018/06/22 16:16:53 schmonz Exp $
 
 DISTNAME=              skalibs-2.6.0.0
+CATEGORIES=            devel
 MASTER_SITES=          http://skarnet.org/software/skalibs/
-CATEGORIES=            devel
 
 MAINTAINER=            cfkoch%edgebsd.org@localhost
+HOMEPAGE=              http://skarnet.org/software/skalibs/
 COMMENT=               The skarnet.org C system programming library
-HOMEPAGE=              http://skarnet.org/software/skalibs/
 LICENSE=               isc
 
 USE_LANGUAGES=         c
diff -r 4e936bea24f0 -r 58b09873a6e0 devel/skalibs/distinfo
--- a/devel/skalibs/distinfo    Fri Jun 22 15:56:56 2018 +0000
+++ b/devel/skalibs/distinfo    Fri Jun 22 16:16:53 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/10/03 00:31:39 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2018/06/22 16:16:53 schmonz Exp $
 
 SHA1 (skalibs-2.6.0.0.tar.gz) = a89169758ad040bb966672ac88fd32c5f0bbf47a
 RMD160 (skalibs-2.6.0.0.tar.gz) = d8e90e773ed72e050b9e018223b04e155f1b0060
 SHA512 (skalibs-2.6.0.0.tar.gz) = dffc50c71a43fc152fcd38267bd136f937bd573012743eb74659b0a42bf2812ba4ce1fd28a43bf1b7fc7f9f1f68fd80f7a1df66f33a379ce6e253658c81ce778
 Size (skalibs-2.6.0.0.tar.gz) = 209377 bytes
+SHA1 (patch-configure) = db5c1b89ecaadd8404bbc7807adaa8df56768809
diff -r 4e936bea24f0 -r 58b09873a6e0 devel/skalibs/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/skalibs/patches/patch-configure     Fri Jun 22 16:16:53 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2018/06/22 16:16:53 schmonz Exp $
+
+Lower _XOPEN_SOURCE to fix SmartOS build.
+
+--- configure.orig     2017-08-28 07:53:30.000000000 +0000
++++ configure
+@@ -211,7 +211,7 @@ trylibs () {
+ 
+ CC_AUTO=
+ CFLAGS_AUTO="$CFLAGS"
+-CPPFLAGS_AUTO="-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2 $CPPFLAGS"
++CPPFLAGS_AUTO="-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=600 -O2 $CPPFLAGS"
+ LDFLAGS_AUTO="$LDFLAGS"
+ LDFLAGS_NOSHARED=
+ LDFLAGS_SHARED=-shared



Home | Main Index | Thread Index | Old Index