summaryrefslogtreecommitdiff
path: root/cad/magic/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-09-24 02:09:41 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-09-24 02:09:41 +0000
commitb7d3653ce2f82fc8752b1d610f8def8250e94ca4 (patch)
tree17bc7a37abe6cf3d7379e203be92ba41210776ca /cad/magic/patches
parent56f4fe8c2c43799ad261e1d07c8cbeb8ccd9c808 (diff)
downloadpkgsrc-b7d3653ce2f82fc8752b1d610f8def8250e94ca4.tar.gz
repair compilation on netbsd/alpha (and probably others too)
Diffstat (limited to 'cad/magic/patches')
-rw-r--r--cad/magic/patches/patch-ab6
1 files changed, 3 insertions, 3 deletions
diff --git a/cad/magic/patches/patch-ab b/cad/magic/patches/patch-ab
index 5e9ca5bfedc..de69fddc7e3 100644
--- a/cad/magic/patches/patch-ab
+++ b/cad/magic/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2005/09/22 15:28:35 minskim Exp $
+$NetBSD: patch-ab,v 1.5 2005/09/24 02:09:42 dmcmahill Exp $
--- scripts/config.orig 2005-09-22 08:13:16.000000000 -0700
+++ scripts/config
@@ -16,9 +16,9 @@ $NetBSD: patch-ab,v 1.4 2005/09/22 15:28:35 minskim Exp $
case "2":
echo "NetBSD 1.x selected"
- set cpp = "/usr/libexec/cpp -P -traditional"
-+ if (-f /usr/libexec/cpp) then
++ if (-f xx/usr/libexec/cpp) then
+ set cpp = "/usr/libexec/cpp -P -traditional"
-+ else if (-f /usr/libexec/cpp0) then
++ else if (-f xx/usr/libexec/cpp0) then
+ set cpp = "/usr/libexec/cpp0 -P -traditional"
+ else
+ set cpp = "cc -E -traditional"