summaryrefslogtreecommitdiff
path: root/net/soup/patches/patch-ag
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-10 20:25:07 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-10 20:25:07 +0000
commitcddbf8b995b3cc5de23b34c4744ac1810612c516 (patch)
tree8d0764a147eb1b3e4c3d15520020ac26760c82b7 /net/soup/patches/patch-ag
parent323463985a249b96040096edc5edc0827c947057 (diff)
downloadpkgsrc-cddbf8b995b3cc5de23b34c4744ac1810612c516.tar.gz
Don't define alloca on DragonFly, it conflicts with stdlib.h.
Diffstat (limited to 'net/soup/patches/patch-ag')
-rw-r--r--net/soup/patches/patch-ag14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/soup/patches/patch-ag b/net/soup/patches/patch-ag
new file mode 100644
index 00000000000..615c725f3c1
--- /dev/null
+++ b/net/soup/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2005/10/10 20:25:07 joerg Exp $
+
+--- src/libsoup/soup-private.h.orig 2005-07-10 16:03:45.000000000 +0000
++++ src/libsoup/soup-private.h
+@@ -31,7 +31,9 @@
+ # pragma alloca
+ # else
+ # ifndef alloca /* predefined by HP cc +Olibcalls */
++#ifndef __DragonFly__
+ char *alloca ();
++#endif
+ # endif
+ # endif
+ # endif