pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/freealut freealut: Set _*_SOURCE correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2304d638881
branches:  trunk
changeset: 383600:b2304d638881
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Aug 06 10:58:42 2018 +0000

description:
freealut: Set _*_SOURCE correctly.

diffstat:

 audio/freealut/distinfo                |   3 ++-
 audio/freealut/patches/patch-configure |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r aaae7d57a4ea -r b2304d638881 audio/freealut/distinfo
--- a/audio/freealut/distinfo   Mon Aug 06 09:38:42 2018 +0000
+++ b/audio/freealut/distinfo   Mon Aug 06 10:58:42 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:12:31 agc Exp $
+$NetBSD: distinfo,v 1.4 2018/08/06 10:58:42 jperkin Exp $
 
 SHA1 (freealut-1.1.0.tar.gz) = b2c04d2b5e0896b3164c01deda39f58933c8055f
 RMD160 (freealut-1.1.0.tar.gz) = 6cbf31bd2e51240721a5ee919e576e7348d954ab
@@ -7,3 +7,4 @@
 SHA1 (patch-aa) = f7909d91a62c9bbeb554926b64fc49f26a794b3b
 SHA1 (patch-ab) = d5d926a3e1ef7aee0e911051e36fca298a38c833
 SHA1 (patch-ac) = 814e5385948d3f6406e932565923f765912a220e
+SHA1 (patch-configure) = 569bd2a0069ace2eca13cbb3e38a29ba9e8da7c8
diff -r aaae7d57a4ea -r b2304d638881 audio/freealut/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/freealut/patches/patch-configure    Mon Aug 06 10:58:42 2018 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-configure,v 1.1 2018/08/06 10:58:42 jperkin Exp $
+
+Set _XOPEN_SOURCE / _POSIX_C_SOURCE correctly.
+
+--- configure.orig     2006-05-22 12:10:32.000000000 +0000
++++ configure
+@@ -20107,6 +20107,7 @@ fi
+ # We could possibly need struct timespec and random(), which are not ANSI.
+ 
+ cat >>confdefs.h <<\_ACEOF
++#if !defined (__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
+ _ACEOF
+ 
+@@ -20115,6 +20116,7 @@ _ACEOF
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define _POSIX_C_SOURCE 199309
++#endif
+ _ACEOF
+ 
+ 



Home | Main Index | Thread Index | Old Index