summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2017-01-22 14:06:07 +0000
committerabs <abs@pkgsrc.org>2017-01-22 14:06:07 +0000
commitc09199c33f19503d313e27b6a2fec982dc7b6700 (patch)
treed1e1541e43ab926071d2335ad0795bb3fef32e31 /editors/xemacs
parentf9e9f5b27c990c10e09188e57cfc788290ac2feb (diff)
downloadpkgsrc-c09199c33f19503d313e27b6a2fec982dc7b6700.tar.gz
Fix build for non HPUX on HP PA platforms
Thanks to Riccardo Mottola for testing No PKGREVISION bump as should not affect build on any previously working platform
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/distinfo4
-rw-r--r--editors/xemacs/patches/patch-src_emacs.c15
-rw-r--r--editors/xemacs/patches/patch-src_sound.c15
3 files changed, 33 insertions, 1 deletions
diff --git a/editors/xemacs/distinfo b/editors/xemacs/distinfo
index ed6d9173fba..77898ed15d3 100644
--- a/editors/xemacs/distinfo
+++ b/editors/xemacs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2016/04/23 10:43:02 wiz Exp $
+$NetBSD: distinfo,v 1.26 2017/01/22 14:06:07 abs Exp $
SHA1 (xemacs/xemacs-21.4.24.tar.gz) = e9ff7693adbef333b78f51b4dfdddd296bad0fcc
RMD160 (xemacs/xemacs-21.4.24.tar.gz) = 0e01971c0dd47d9dd401d02e508edf241208969b
@@ -12,6 +12,8 @@ SHA1 (patch-man_lispref_intro.texi) = 5837f8a0e8057649921cdbddd8e8329165ec1104
SHA1 (patch-man_xemacs_custom.texi) = e564906bced48b0a7c788c217c02eafe167fee59
SHA1 (patch-src_Makefile.in.in) = 8d2c262983ff16197c99429e7d4cc80cd8371775
SHA1 (patch-src_config.h.in) = 25ac897560abad51d83b58818e1dc2e77a8519e4
+SHA1 (patch-src_emacs.c) = 19bbba8b9a777388060bab637b2bdc5e9027e11f
SHA1 (patch-src_lisp.h) = ed1210a179f7dce537634e3129acc93f9c9b5966
+SHA1 (patch-src_sound.c) = fd3717943310c049fbcc8598b072d80d9812ae20
SHA1 (patch-src_unexelf.c) = 5147a3f41d1188aaf08b99e768d8b93e9e28d305
SHA1 (patch-src_unexfreebsd.c) = 8bcbd103884430cec31c584bc489e4ab98d79448
diff --git a/editors/xemacs/patches/patch-src_emacs.c b/editors/xemacs/patches/patch-src_emacs.c
new file mode 100644
index 00000000000..a5fbab4ee6b
--- /dev/null
+++ b/editors/xemacs/patches/patch-src_emacs.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_emacs.c,v 1.1 2017/01/22 14:06:07 abs Exp $
+
+Fix build for non HPUX on HP PA platforms
+
+--- src/emacs.c.orig 2015-03-25 11:25:33.000000000 +0000
++++ src/emacs.c
+@@ -2368,7 +2368,7 @@ main_1 (int argc, char **argv, char **en
+ #if defined (WIN32_NATIVE) || defined (CYGWIN)
+ init_win32 ();
+ #endif
+-#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800)
++#if defined (HAVE_NATIVE_SOUND) && defined (HPUX) && defined (hp9000s800)
+ init_hpplay ();
+ #endif
+ #ifdef HAVE_TTY
diff --git a/editors/xemacs/patches/patch-src_sound.c b/editors/xemacs/patches/patch-src_sound.c
new file mode 100644
index 00000000000..70a8d6c7a40
--- /dev/null
+++ b/editors/xemacs/patches/patch-src_sound.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_sound.c,v 1.1 2017/01/22 14:06:07 abs Exp $
+
+Fix build for non HPUX on HP PA platforms
+
+--- src/sound.c.orig 2015-03-25 11:25:33.000000000 +0000
++++ src/sound.c
+@@ -653,7 +653,7 @@ This variable only applies to native sou
+ */ );
+ Vnative_sound_only_on_console = Qt;
+
+-#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800)
++#if defined (HAVE_NATIVE_SOUND) && defined (HPUX) && defined (hp9000s800)
+ {
+ void vars_of_hpplay (void);
+ vars_of_hpplay ();