pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/lilv
Module Name: pkgsrc
Committed By: jperkin
Date: Tue Jul 31 15:35:38 UTC 2018
Modified Files:
pkgsrc/audio/lilv: Makefile distinfo
Added Files:
pkgsrc/audio/lilv/patches: patch-src_util.c
Log Message:
lilv: Fix build on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/audio/lilv/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/lilv/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/lilv/patches/patch-src_util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/lilv/Makefile
diff -u pkgsrc/audio/lilv/Makefile:1.11 pkgsrc/audio/lilv/Makefile:1.12
--- pkgsrc/audio/lilv/Makefile:1.11 Mon Apr 16 14:34:07 2018
+++ pkgsrc/audio/lilv/Makefile Tue Jul 31 15:35:38 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/04/16 14:34:07 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2018/07/31 15:35:38 jperkin Exp $
DISTNAME= lilv-0.20.0
PKGREVISION= 7
@@ -26,7 +26,7 @@ INSTALLATION_DIRS= ${EGDIR}
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= lv2bench
-.if ${OPSYS} != "Darwin"
+.if ${OPSYS} != "Darwin" && ${OPSYS} != "SunOS"
# Darwin doesn't have CLOCK_GETTIME so it doesn't compile this
PLIST.lv2bench= yes
.endif
Index: pkgsrc/audio/lilv/distinfo
diff -u pkgsrc/audio/lilv/distinfo:1.2 pkgsrc/audio/lilv/distinfo:1.3
--- pkgsrc/audio/lilv/distinfo:1.2 Tue Nov 3 01:12:39 2015
+++ pkgsrc/audio/lilv/distinfo Tue Jul 31 15:35:38 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:12:39 agc Exp $
+$NetBSD: distinfo,v 1.3 2018/07/31 15:35:38 jperkin Exp $
SHA1 (lilv-0.20.0.tar.bz2) = b3a7d0089b16b04114895d47a898b8d494774927
RMD160 (lilv-0.20.0.tar.bz2) = 7830520d983fa8effa7c3e18fda545bc55253642
SHA512 (lilv-0.20.0.tar.bz2) = bbc8b9154339cd145a61c5e4613fd31a2e457df8242c55371f3245564d3b23d028a0bc0ffafac393119bb47171b7c735f0c3a55cf5bffc6920ae89aa877240e5
Size (lilv-0.20.0.tar.bz2) = 207948 bytes
+SHA1 (patch-src_util.c) = e64d73bb0217c4fe6d70479ef8c395895152a603
Added files:
Index: pkgsrc/audio/lilv/patches/patch-src_util.c
diff -u /dev/null pkgsrc/audio/lilv/patches/patch-src_util.c:1.1
--- /dev/null Tue Jul 31 15:35:38 2018
+++ pkgsrc/audio/lilv/patches/patch-src_util.c Tue Jul 31 15:35:38 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_util.c,v 1.1 2018/07/31 15:35:38 jperkin Exp $
+
+Set _POSIX_C_SOURCE correctly.
+
+--- src/util.c.orig 2014-08-08 14:40:03.000000000 +0000
++++ src/util.c
+@@ -14,7 +14,9 @@
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _POSIX_C_SOURCE 1 /* for fileno */
++#endif
+ #define _BSD_SOURCE 1 /* for realpath, symlink */
+
+ #ifdef __APPLE__
Home |
Main Index |
Thread Index |
Old Index