summaryrefslogtreecommitdiff
path: root/editors/mule/patches
diff options
context:
space:
mode:
authorkei <kei>2001-03-18 14:14:24 +0000
committerkei <kei>2001-03-18 14:14:24 +0000
commitd00c89eb1c25d06cd5c634a3722229b9d4080ebf (patch)
treec4a96074be08b0e3a13d8416426e553c17891caf /editors/mule/patches
parentf68c99a4d19de9dc59023221af80218ed861f306 (diff)
downloadpkgsrc-d00c89eb1c25d06cd5c634a3722229b9d4080ebf.tar.gz
* Fixed alpha support. Patch supplied and submitted by kay@kaynet.or.jp to
tech-pkg-ja@jp.netbsd.org. Tested on macppc.
Diffstat (limited to 'editors/mule/patches')
-rw-r--r--editors/mule/patches/patch-ad15
-rw-r--r--editors/mule/patches/patch-bc34
-rw-r--r--editors/mule/patches/patch-bd14
3 files changed, 59 insertions, 4 deletions
diff --git a/editors/mule/patches/patch-ad b/editors/mule/patches/patch-ad
index 376ecbb7c3d..596f2f7632f 100644
--- a/editors/mule/patches/patch-ad
+++ b/editors/mule/patches/patch-ad
@@ -1,8 +1,15 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/11/21 05:21:10 kei Exp $
+$NetBSD: patch-ad,v 1.2 2001/03/18 14:14:24 kei Exp $
---- configure.orig Mon Sep 20 13:03:01 1999
-+++ configure Mon Sep 20 13:35:04 1999
-@@ -587,6 +587,7 @@
+--- configure.orig Mon Jun 5 10:11:38 1995
++++ configure Wed Jan 24 22:00:48 2001
+@@ -581,12 +581,14 @@
+ *-*-netbsd* )
+ opsys=netbsd
+ case "${canonical}" in
++ alpha-*-netbsd*) machine=alpha ;;
+ i[345]86-*-netbsd*) machine=intel386 ;;
+ m68k-*-netbsd*)
+ # This is somewhat bogus.
machine=hp9000s300 ;;
mips-*-netbsd*) machine=pmax ;;
ns32k-*-netbsd*) machine=ns32000 ;;
diff --git a/editors/mule/patches/patch-bc b/editors/mule/patches/patch-bc
new file mode 100644
index 00000000000..c32868b4c5e
--- /dev/null
+++ b/editors/mule/patches/patch-bc
@@ -0,0 +1,34 @@
+$NetBSD: patch-bc,v 1.1 2001/03/18 14:14:24 kei Exp $
+
+--- src/m/alpha.h.orig Fri Feb 17 16:47:36 1995
++++ src/m/alpha.h Sat Mar 17 14:37:23 2001
+@@ -108,7 +108,9 @@
+ in the file alloca.s should be used. */
+
+ #define HAVE_ALLOCA
++#ifndef __NetBSD__
+ #define SYSTEM_MALLOC
++#endif
+
+ /* Define NO_REMAP if memory segmentation makes it not work well
+ to change the boundary between the text section and data section
+@@ -134,7 +136,9 @@
+
+ #define START_FILES pre-crt0.o
+
++#ifndef __NetBSD__
+ #define UNEXEC unexmips.o
++#endif
+
+ #define PNTR_COMPARISON_TYPE unsigned long
+
+@@ -149,7 +153,9 @@
+ #define DATA_END &_edata
+
+ #define ORDINARY_LINK
++#ifndef __NetBSD__
+ #define LD_SWITCH_SYSTEM
++#endif
+ #define LIBS_DEBUG
+
+ /* PURESIZE should be defined in puresize.h. */
diff --git a/editors/mule/patches/patch-bd b/editors/mule/patches/patch-bd
new file mode 100644
index 00000000000..a2fd6da52ce
--- /dev/null
+++ b/editors/mule/patches/patch-bd
@@ -0,0 +1,14 @@
+$NetBSD: patch-bd,v 1.1 2001/03/18 14:14:24 kei Exp $
+
+--- src/fns.c.orig Fri Oct 21 13:20:15 1994
++++ src/fns.c Sat Mar 17 15:31:28 2001
+@@ -64,7 +64,9 @@
+ unsigned long denominator;
+ extern long random ();
+ extern srandom ();
++#ifndef __NetBSD__
+ extern long time ();
++#endif
+
+ if (EQ (limit, Qt))
+ srandom (getpid () + time (0));