pkgsrc/net/adns/patches/patch-af
minskim c4161d0963 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.
2006-02-07 03:48:43 +00:00

13 lines
278 B
Text

$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;