diff options
author | ryoon <ryoon@pkgsrc.org> | 2011-12-20 18:33:40 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2011-12-20 18:33:40 +0000 |
commit | 5dbce4568f62c2eab27de63a74b36657eb4ba5eb (patch) | |
tree | 6c13df541ced7f77f43c05974ec8f0172100f3c8 /editors/mule/patches/patch-ad | |
parent | ab0f00f03ef758d7ded281f1198c21e55f4e1407 (diff) | |
download | pkgsrc-5dbce4568f62c2eab27de63a74b36657eb4ba5eb.tar.gz |
Try to support NetBSD/amd64.
It progress to temacs segfault on NetBSD/amd64 5.99.56.
* Import src/m/amd64.h from editors/emacs20.
Diffstat (limited to 'editors/mule/patches/patch-ad')
-rw-r--r-- | editors/mule/patches/patch-ad | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/editors/mule/patches/patch-ad b/editors/mule/patches/patch-ad index 251f0262771..4fb9141a9bf 100644 --- a/editors/mule/patches/patch-ad +++ b/editors/mule/patches/patch-ad @@ -1,10 +1,10 @@ -$NetBSD: patch-ad,v 1.5 2011/12/19 21:36:07 ryoon Exp $ +$NetBSD: patch-ad,v 1.6 2011/12/20 18:33:40 ryoon Exp $ * "Should be one line" test is for gcc 4.5's cpp from emacs20's patch-ab. --- configure.orig 1995-06-05 01:11:38.000000000 +0000 +++ configure -@@ -581,12 +581,14 @@ case "${canonical}" in +@@ -581,13 +581,16 @@ case "${canonical}" in *-*-netbsd* ) opsys=netbsd case "${canonical}" in @@ -17,9 +17,11 @@ $NetBSD: patch-ad,v 1.5 2011/12/19 21:36:07 ryoon Exp $ ns32k-*-netbsd*) machine=ns32000 ;; + powerpc-*-netbsd*) machine=powerpc ;; sparc-*-netbsd*) machine=sparc ;; ++ x86_64-*-netbsd*) machine=amd64 ;; esac ;; -@@ -1177,6 +1179,7 @@ case "${canonical}" in + +@@ -1177,6 +1180,7 @@ case "${canonical}" in *-bsd386* | *-bsdi* ) opsys=bsd386 ;; *-386bsd* ) opsys=386bsd ;; *-freebsd* ) opsys=freebsd ;; @@ -27,7 +29,7 @@ $NetBSD: patch-ad,v 1.5 2011/12/19 21:36:07 ryoon Exp $ *-nextstep* ) opsys=mach2 ;; ## Otherwise, we'll fall through to the generic opsys code at the bottom. esac -@@ -1384,10 +1387,13 @@ if test -z "$CPP"; then +@@ -1384,10 +1388,13 @@ if test -z "$CPP"; then #include "confdefs.h" #include <stdio.h> Syntax Error @@ -42,7 +44,7 @@ $NetBSD: patch-ad,v 1.5 2011/12/19 21:36:07 ryoon Exp $ if test -z "$ac_err"; then : else -@@ -1397,10 +1403,13 @@ else +@@ -1397,10 +1404,13 @@ else #include "confdefs.h" #include <stdio.h> Syntax Error |