summaryrefslogtreecommitdiff
path: root/editors/emacs
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-10-06 11:08:39 +0000
committermarkd <markd@pkgsrc.org>2005-10-06 11:08:39 +0000
commitf86fb5789b2331a260e41bd928d26b8c7a1bb9ab (patch)
treec5f644c1215156b86b5ee8f945f4244158c25e42 /editors/emacs
parent293b86134c450a84495a06f6a10b5d945c6a684c (diff)
downloadpkgsrc-f86fb5789b2331a260e41bd928d26b8c7a1bb9ab.tar.gz
A couple of patches to fix build on NetBSD/hp700. From Konrad Schroder.
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/distinfo5
-rw-r--r--editors/emacs/patches/patch-ab5
-rw-r--r--editors/emacs/patches/patch-ac16
3 files changed, 22 insertions, 4 deletions
diff --git a/editors/emacs/distinfo b/editors/emacs/distinfo
index bce37c0f9ff..dba65697d17 100644
--- a/editors/emacs/distinfo
+++ b/editors/emacs/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.22 2005/05/26 02:10:49 markd Exp $
+$NetBSD: distinfo,v 1.23 2005/10/06 11:08:39 markd Exp $
SHA1 (emacs-21.4a.tar.gz) = cdb33731180fe4a912838af805dd35e3f55394d4
RMD160 (emacs-21.4a.tar.gz) = c312e739935b56d08783bbfe97992297a363cb8a
Size (emacs-21.4a.tar.gz) = 20403483 bytes
SHA1 (patch-aa) = fee6fe91fb9a2f75300903cc5c6e023bb8de6be5
-SHA1 (patch-ab) = fee43adad7fd2c79b5b3176fa9101c35dfd59365
+SHA1 (patch-ab) = 0d95f189804241e9416de7ced65aa90fccab4287
+SHA1 (patch-ac) = a2de7619fece50cb42b0e23b1651b5bf742ff69a
SHA1 (patch-ad) = 39a11bc214ae3d2f9d634c30b196a46d473ab92f
SHA1 (patch-ae) = e2b66b23efb90608470aef5ebd0c75e27bcd6b55
SHA1 (patch-ag) = 3d64c0d53e3a8a737eeb04a6080a92a826b73620
diff --git a/editors/emacs/patches/patch-ab b/editors/emacs/patches/patch-ab
index 76d6900f0eb..fc0c422045f 100644
--- a/editors/emacs/patches/patch-ab
+++ b/editors/emacs/patches/patch-ab
@@ -1,12 +1,13 @@
-$NetBSD: patch-ab,v 1.19 2005/05/26 02:10:49 markd Exp $
+$NetBSD: patch-ab,v 1.20 2005/10/06 11:08:39 markd Exp $
--- configure.orig 2003-03-19 02:19:12.000000000 +1200
+++ configure
-@@ -822,9 +822,13 @@ case "${canonical}" in
+@@ -822,9 +822,14 @@ case "${canonical}" in
sparc*-*-netbsd*) machine=sparc ;;
vax-*-netbsd*) machine=vax ;;
arm-*-netbsd*) machine=arm ;;
+ x86_64-*-netbsd*) machine=amd64 ;;
++ hppa-*-netbsd*) machine=hp800 ;;
esac
;;
diff --git a/editors/emacs/patches/patch-ac b/editors/emacs/patches/patch-ac
new file mode 100644
index 00000000000..caa5ede7fa0
--- /dev/null
+++ b/editors/emacs/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.14 2005/10/06 11:08:39 markd Exp $
+
+--- src/m/hp800.h.orig 1996-01-15 01:15:02.000000000 -0800
++++ src/m/hp800.h 2005-10-04 10:49:46.000000000 -0700
+@@ -181,3 +181,11 @@
+ #define rindex strrchr
+
+ #endif /* __hpux */
++
++/* Systems with GCC don't need to lose. */
++#ifdef __NetBSD__
++# ifdef __GNUC__
++# define alloca __builtin_alloca
++# define HAVE_ALLOCA
++# endif /* __GNUC__ */
++#endif /* __NetBSD__ */