diff options
author | minskim <minskim@pkgsrc.org> | 2006-02-07 03:48:43 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-02-07 03:48:43 +0000 |
commit | 5cbcc1837f08aa431b5dc25d3bb81c93799d3ee6 (patch) | |
tree | 65e9333edb7d3dabc4471e326952d66fa15afc61 /net/adns/patches/patch-af | |
parent | 490cd68b2be377d97dcd8ee3bf8dc8717576683b (diff) | |
download | pkgsrc-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/adns/patches/patch-af')
-rw-r--r-- | net/adns/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
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; |