pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/fdtools
Module Name: pkgsrc
Committed By: schmonz
Date: Mon Dec 17 17:04:38 UTC 2018
Modified Files:
pkgsrc/sysutils/fdtools: distinfo
Added Files:
pkgsrc/sysutils/fdtools/patches:
patch-src_.mkmed-data_src_prjlibs-c_standards.h
Log Message:
Improve _XOPEN_SOURCE handling on SunOS. Should fix SmartOS build.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/fdtools/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/fdtools/patches/patch-src_.mkmed-data_src_prjlibs-c_standards.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/fdtools/distinfo
diff -u pkgsrc/sysutils/fdtools/distinfo:1.2 pkgsrc/sysutils/fdtools/distinfo:1.3
--- pkgsrc/sysutils/fdtools/distinfo:1.2 Mon May 28 12:00:39 2018
+++ pkgsrc/sysutils/fdtools/distinfo Mon Dec 17 17:04:38 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2018/05/28 12:00:39 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2018/12/17 17:04:38 schmonz Exp $
SHA1 (fdtools-2015.03.28.tar.bz2) = 7bd1c9e067df8297e1f4bc430c33903899585aee
RMD160 (fdtools-2015.03.28.tar.bz2) = d1bfed8c1718b5ec178cc763416f677f4cc26f0d
@@ -6,5 +6,6 @@ SHA512 (fdtools-2015.03.28.tar.bz2) = e6
Size (fdtools-2015.03.28.tar.bz2) = 40057 bytes
SHA1 (patch-conf-compile_defaults_host__compile.sh) = d30f146419e30cd717c299b8196918db3095f3e8
SHA1 (patch-conf-compile_defaults_host__link.sh) = 77e80f0ed9adc0ead6f9afea9b76dbb630ff2ce0
+SHA1 (patch-src_.mkmed-data_src_prjlibs-c_standards.h) = aa91710e0b5610ce1b1c705d5837f876fb3afea5
SHA1 (patch-src_recvfd.c) = 4fe086cae8fa9623e29954cb03ee5a63a72d25af
SHA1 (patch-src_sigsched.c) = ed4cf2111ab65fb80f5cbcfd6aa0c49db12a845a
Added files:
Index: pkgsrc/sysutils/fdtools/patches/patch-src_.mkmed-data_src_prjlibs-c_standards.h
diff -u /dev/null pkgsrc/sysutils/fdtools/patches/patch-src_.mkmed-data_src_prjlibs-c_standards.h:1.1
--- /dev/null Mon Dec 17 17:04:38 2018
+++ pkgsrc/sysutils/fdtools/patches/patch-src_.mkmed-data_src_prjlibs-c_standards.h Mon Dec 17 17:04:38 2018
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_.mkmed-data_src_prjlibs-c_standards.h,v 1.1 2018/12/17 17:04:38 schmonz Exp $
+
+Handle _XOPEN_SOURCE on SunOS.
+
+--- src/.mkmed-data/src/prjlibs-c/standards.h.orig 2015-03-28 22:14:51.231617623 +0000
++++ src/.mkmed-data/src/prjlibs-c/standards.h
+@@ -7,13 +7,16 @@
+ #endif
+ #endif
+ #endif
+-#define _XOPEN_SOURCE_EXTENDED 1
+ #ifndef _BSD_SOURCE
+ #define _BSD_SOURCE 1
+ #endif
+ #ifdef __sun
+ #undef _XOPEN_SOURCE
++#if (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++#else
++#define _XOPEN_SOURCE 600
++#endif
+ #ifndef __EXTENSIONS__
+ #define __EXTENSIONS__ 1
+ #endif
Home |
Main Index |
Thread Index |
Old Index