summaryrefslogtreecommitdiff
path: root/editors/xemacs-current
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2019-11-27 14:35:16 +0000
committerhauke <hauke@pkgsrc.org>2019-11-27 14:35:16 +0000
commitad1a9d818c8301e49b13a0b8b3c3c72ab748daa7 (patch)
treeba14668de75dadf95418aa97bc847e1f02ecebaf /editors/xemacs-current
parentbcf49ebf1fef653a4761d0178d788c71c5dc76e4 (diff)
downloadpkgsrc-ad1a9d818c8301e49b13a0b8b3c3c72ab748daa7.tar.gz
For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__,
see <https://gist.github.com/jperkin/b08f9108daf8d0ac695067d71f882a9d>
Diffstat (limited to 'editors/xemacs-current')
-rw-r--r--editors/xemacs-current/Makefile4
-rw-r--r--editors/xemacs-current/distinfo4
-rw-r--r--editors/xemacs-current/patches/patch-configure23
3 files changed, 24 insertions, 7 deletions
diff --git a/editors/xemacs-current/Makefile b/editors/xemacs-current/Makefile
index 33d937a0c74..f53e2c42733 100644
--- a/editors/xemacs-current/Makefile
+++ b/editors/xemacs-current/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.100 2019/10/08 12:40:55 hauke Exp $
+# $NetBSD: Makefile,v 1.101 2019/11/27 14:35:16 hauke Exp $
PKGNAME= ${DISTNAME}
-PKGREVISION= 8
+PKGREVISION= 9
COMMENT= *BETA* XEmacs text editor version ${PKGVERSION_NOREV}
# extra options for x11 support, not for sharing with xemacs-current-nox11
diff --git a/editors/xemacs-current/distinfo b/editors/xemacs-current/distinfo
index bf423a90237..3c6fa3bf7ea 100644
--- a/editors/xemacs-current/distinfo
+++ b/editors/xemacs-current/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.34 2018/12/19 13:41:45 hauke Exp $
+$NetBSD: distinfo,v 1.35 2019/11/27 14:35:16 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) = 0f576275a42b883f4502fbe5156aa2d84f17f6a8
+SHA1 (patch-configure) = cb8929d412da85ad92336b6e12cf28000a715ad0
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 78e32a1779d..377b0cbf61e 100644
--- a/editors/xemacs-current/patches/patch-configure
+++ b/editors/xemacs-current/patches/patch-configure
@@ -1,4 +1,7 @@
-$NetBSD: patch-configure,v 1.1 2017/11/15 14:50:50 hauke Exp $
+$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>
Add POSIX syntax for passing ld(1) options through the compiler
front end
@@ -9,7 +12,21 @@ Was patch-ab
--- configure.orig 2013-08-21 17:45:50.000000000 +0000
+++ configure
-@@ -10107,7 +10107,7 @@ $as_echo_n "checking for runtime librari
+@@ -9196,8 +9196,11 @@ case "$opsys" in
+ 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
++ $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
++ $as_echo "#endif" >>confdefs.h
+ fi ;;
+ linux)
+ $as_echo "#define _POSIX_C_SOURCE 199506L" >>confdefs.h
+@@ -10107,7 +10110,7 @@ $as_echo_n "checking for runtime librari
linux* | irix*) dash_r="-rpath " ;;
*)
dash_r=""
@@ -18,7 +35,7 @@ Was patch-ab
xe_check_libs="${try_dash_r}/no/such/file-or-directory"
if test "$GCC" = "yes"; then
-@@ -21819,7 +21819,7 @@ fi
+@@ -21819,7 +21822,7 @@ fi
if test "$have_vdb_mach" = yes ; then
echo " Using mach exception mechanism as vdb fault handler."
fi