From 112ece8864c676f9913bfe263540c6f4d95d7835 Mon Sep 17 00:00:00 2001 From: markd Date: Thu, 6 Oct 2005 11:08:39 +0000 Subject: A couple of patches to fix build on NetBSD/hp700. From Konrad Schroder. --- editors/emacs/distinfo | 5 +++-- editors/emacs/patches/patch-ab | 5 +++-- editors/emacs/patches/patch-ac | 16 ++++++++++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 editors/emacs/patches/patch-ac (limited to 'editors') 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__ */ -- cgit v1.2.3