diff options
author | hauke <hauke@pkgsrc.org> | 2017-11-15 14:50:50 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2017-11-15 14:50:50 +0000 |
commit | c2f6786b84f5a7df063643aed74f8c2781c542cb (patch) | |
tree | 96bb744416253e69ee352c90e34efafee4e4b702 /editors | |
parent | 6711dd7a9c9e2758bc9ad18787017b753ebe9f9e (diff) | |
download | pkgsrc-c2f6786b84f5a7df063643aed74f8c2781c542cb.tar.gz |
Upgrade to XEmacs 21.5.34
Add POSIX syntax for passing ld(1) options through the
compiler front end
NetBSD machine settings are gone
Other patches are in upstream
Was patch-ab
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-current/patches/patch-ab | 49 | ||||
-rw-r--r-- | editors/xemacs-current/patches/patch-configure | 29 |
2 files changed, 29 insertions, 49 deletions
diff --git a/editors/xemacs-current/patches/patch-ab b/editors/xemacs-current/patches/patch-ab deleted file mode 100644 index 4246867f054..00000000000 --- a/editors/xemacs-current/patches/patch-ab +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-ab,v 1.7 2012/12/21 15:06:31 joerg Exp $ - ---- configure.orig 2006-05-16 04:16:04.000000000 +0000 -+++ configure -@@ -4415,7 +4415,7 @@ case "$ac_cv_build" in - case "${ac_cv_build}" in - i[3-9]86-*-netbsd*) machine=intel386 ;; - hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da30-*-netbsd* | m68k-*-netbsd* ) -- machine=hp9000s300 ;; -+ machine=m68k ;; - pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; - pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; - esac -@@ -9735,7 +9735,7 @@ echo $ECHO_N "checking for runtime libra - decosf* | linux* | irix*) dash_r="-rpath " ;; - *) - dash_r="" -- for try_dash_r in "-R" "-R " "-rpath "; do -+ for try_dash_r in "-Wl,R" "-R" "-R " "-rpath "; do - xe_check_libs="${try_dash_r}/no/such/file-or-directory" - - if test "$GCC" = "yes"; then -@@ -18572,7 +18572,7 @@ cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include <X11/Intrinsic.h> -- int main(int c, char *v) { return c>1 ? XlibSpecificationRelease : 0; } -+ int main(int c, char **v) { return c>1 ? XlibSpecificationRelease : 0; } - _ACEOF - rm -f conftest$ac_exeext - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -@@ -38829,7 +38829,7 @@ _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --int main(int c,char *v){return 0;} -+int main(int c,char **v){return 0;} - _ACEOF - rm -f conftest$ac_exeext - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -@@ -39670,7 +39670,7 @@ fi - if test "$have_vdb_mach" = yes ; then - echo " Using mach exception mechanism as vdb fault handler." - fi --if test "$have_vdb_fake" = yes && test "$enable_vdb" == fake; then -+if test "$have_vdb_fake" = yes && test "$enable_vdb" = fake; then - echo " Virtual dirty bit write barrier manually disabled." - fi - test "$enable_pdump" = yes && echo " Using the new portable dumper." diff --git a/editors/xemacs-current/patches/patch-configure b/editors/xemacs-current/patches/patch-configure new file mode 100644 index 00000000000..78e32a1779d --- /dev/null +++ b/editors/xemacs-current/patches/patch-configure @@ -0,0 +1,29 @@ +$NetBSD: patch-configure,v 1.1 2017/11/15 14:50:50 hauke Exp $ + +Add POSIX syntax for passing ld(1) options through the compiler +front end + +Remove bashism + +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 + linux* | irix*) dash_r="-rpath " ;; + *) + dash_r="" +- for try_dash_r in "-R" "-R " "-rpath "; do ++ for try_dash_r in "-Wl,R" "-R" "-R " "-rpath "; do + xe_check_libs="${try_dash_r}/no/such/file-or-directory" + + if test "$GCC" = "yes"; then +@@ -21819,7 +21819,7 @@ fi + if test "$have_vdb_mach" = yes ; then + echo " Using mach exception mechanism as vdb fault handler." + fi +-if test "$have_vdb_fake" = yes && test "$with_vdb" == fake; then ++if test "$have_vdb_fake" = yes && test "$with_vdb" = fake; then + echo " Virtual dirty bit write barrier manually disabled." + fi + test "$with_pdump" = yes && echo " Using the new portable dumper." |