summaryrefslogtreecommitdiff
path: root/devel/xxgdb
diff options
context:
space:
mode:
authoragc <agc>1998-05-13 10:17:40 +0000
committeragc <agc>1998-05-13 10:17:40 +0000
commite531b933b06748a19c62b46a80af385c76389096 (patch)
treef2f8d45ce62f890ea68ef761f6c110595f9c31d6 /devel/xxgdb
parent9ed11167b0595028f784ac42c4868e49e7a7f08f (diff)
downloadpkgsrc-e531b933b06748a19c62b46a80af385c76389096.tar.gz
Make this compile on NetBSD/sparc, as pointed out by pk.
Diffstat (limited to 'devel/xxgdb')
-rw-r--r--devel/xxgdb/patches/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/xxgdb/patches/patch-ac b/devel/xxgdb/patches/patch-ac
new file mode 100644
index 00000000000..d6178557081
--- /dev/null
+++ b/devel/xxgdb/patches/patch-ac
@@ -0,0 +1,11 @@
+--- regex.c 1998/05/13 10:04:58 1.1
++++ regex.c 1998/05/13 10:06:01
+@@ -122,7 +122,7 @@
+ #include <stdlib.h>
+ #include <assert.h>
+
+-#ifdef sparc
++#if defined(sparc) && !defined(__NetBSD__)
+ #include <alloca.h>
+ #else
+ #pragma alloca