summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-02-07 03:48:43 +0000
committerminskim <minskim@pkgsrc.org>2006-02-07 03:48:43 +0000
commit5cbcc1837f08aa431b5dc25d3bb81c93799d3ee6 (patch)
tree65e9333edb7d3dabc4471e326952d66fa15afc61 /net
parent490cd68b2be377d97dcd8ee3bf8dc8717576683b (diff)
downloadpkgsrc-5cbcc1837f08aa431b5dc25d3bb81c93799d3ee6.tar.gz
Do not define a variable in a header file included by multiple .c files.
This makes the package build on Darwin. Patch from DarwinPorts. The modified header file is used internally, and never installed. So no visible changes to dependent packages.
Diffstat (limited to 'net')
-rw-r--r--net/adns/distinfo3
-rw-r--r--net/adns/patches/patch-af13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/adns/distinfo b/net/adns/distinfo
index a07962bdae5..55be80a319e 100644
--- a/net/adns/distinfo
+++ b/net/adns/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/12/13 16:08:54 joerg Exp $
+$NetBSD: distinfo,v 1.11 2006/02/07 03:48:43 minskim Exp $
SHA1 (adns-1.1.tar.gz) = cd47dfc819b147b3275eaf6316f17f15be7187e5
RMD160 (adns-1.1.tar.gz) = c6198f864afc40657dd94b7a94cf59a483ab7581
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 3eaa20dbe95de934693c00b73d42fbaf8ff5e5e9
SHA1 (patch-ac) = 2928cd6ccd224bc6d355e52b2f8dc149beaaff84
SHA1 (patch-ad) = 5ce6a933673c82b2058ff67223057bbf18f5d8bb
SHA1 (patch-ae) = fdcc3815b880538ef2c124c7ff3c0ac74b25a14f
+SHA1 (patch-af) = f1372fe9216161d423602318a812e7f06e0f0a92
diff --git a/net/adns/patches/patch-af b/net/adns/patches/patch-af
new file mode 100644
index 00000000000..788f4f9e881
--- /dev/null
+++ b/net/adns/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/02/07 03:48:44 minskim Exp $
+
+--- src/internal.h.orig 2003-06-22 06:58:15.000000000 -0700
++++ src/internal.h
+@@ -160,7 +160,7 @@ union maxalign {
+ void *p;
+ void (*fp)(void);
+ union maxalign *up;
+-} data;
++};
+
+ typedef struct {
+ void *ext;