diff options
author | hauke <hauke@pkgsrc.org> | 2019-11-27 14:48:36 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2019-11-27 14:48:36 +0000 |
commit | 1f615fe8f74bd5c09ed69886f1b3f675cbcf61b0 (patch) | |
tree | 1f8141957cb2c29bc9b2a06d604f9aac1260b81d | |
parent | bc053a66cfb673a1e141a10e06f219f5db0413f4 (diff) | |
download | pkgsrc-1f615fe8f74bd5c09ed69886f1b3f675cbcf61b0.tar.gz |
I didn't mean to drop _XOPEN_SOURCE_EXTENDED definition, sorry.
-rw-r--r-- | editors/xemacs-current/distinfo | 4 | ||||
-rw-r--r-- | editors/xemacs-current/patches/patch-configure | 15 |
2 files changed, 9 insertions, 10 deletions
diff --git a/editors/xemacs-current/distinfo b/editors/xemacs-current/distinfo index 3c6fa3bf7ea..87669cc91a2 100644 --- a/editors/xemacs-current/distinfo +++ b/editors/xemacs-current/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.35 2019/11/27 14:35:16 hauke Exp $ +$NetBSD: distinfo,v 1.36 2019/11/27 14:48:36 hauke Exp $ SHA1 (xemacs-21.5.34.tar.gz) = ed1fe3ff6ce6eeb9ff75ac0ee34c6530e1c355ce RMD160 (xemacs-21.5.34.tar.gz) = 2f6a5bc7fd72508722dded16ee7742db3e87ffaf SHA512 (xemacs-21.5.34.tar.gz) = b61d88fe530a77b88c2ed0cecd6597ed3c265450bc61f7c6823920f774b2d566ef6fc18a6c33928d846d08d465617d4ccd3c4656606ec8634127a683abbc929a Size (xemacs-21.5.34.tar.gz) = 15816932 bytes SHA1 (patch-Makefile.in.in) = e1e18f8555195a53fee44cbbb33a6d1a49fd368b -SHA1 (patch-configure) = cb8929d412da85ad92336b6e12cf28000a715ad0 +SHA1 (patch-configure) = 95e801346fb5fa4414effbc79f1873c3d98a175a SHA1 (patch-lib-src_Makefile.in.in) = 6e9c2b9e4cd9e63fbdc88ff4792e74a57ed925ae SHA1 (patch-lib-src_fakemail.c) = e62f75055b80f207696cfd77cd7b55fd46e8249b SHA1 (patch-lwlib_Makefile.in.in) = 8d243f1c85122429187b8250c18221dee8423ed0 diff --git a/editors/xemacs-current/patches/patch-configure b/editors/xemacs-current/patches/patch-configure index 377b0cbf61e..3c61664536e 100644 --- a/editors/xemacs-current/patches/patch-configure +++ b/editors/xemacs-current/patches/patch-configure @@ -1,7 +1,4 @@ -$NetBSD: patch-configure,v 1.2 2019/11/27 14:35:16 hauke Exp $ - -For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__, -see <https://gist.github.com/jperkin/b08f9108daf8d0ac695067d71f882a9d> +$NetBSD: patch-configure,v 1.3 2019/11/27 14:48:36 hauke Exp $ Add POSIX syntax for passing ld(1) options through the compiler front end @@ -12,12 +9,14 @@ Was patch-ab --- configure.orig 2013-08-21 17:45:50.000000000 +0000 +++ configure -@@ -9196,8 +9196,11 @@ case "$opsys" in - if test "$os_release" -ge 505; then - $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h +@@ -9194,10 +9194,13 @@ case "$opsys" in + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h -- $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h + if test "$os_release" -ge 505; then +- $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h - + $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h + + $as_echo "#if __STDC_VERSION__ - 0 < 199901L" >>confdefs.h + $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h + $as_echo "#else" >>confdefs.h |