diff options
Diffstat (limited to 'net/delegate/patches/patch-resolvy_resconf_c')
-rw-r--r-- | net/delegate/patches/patch-resolvy_resconf_c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/delegate/patches/patch-resolvy_resconf_c b/net/delegate/patches/patch-resolvy_resconf_c new file mode 100644 index 00000000000..cee6c832913 --- /dev/null +++ b/net/delegate/patches/patch-resolvy_resconf_c @@ -0,0 +1,15 @@ +$NetBSD: patch-resolvy_resconf_c,v 1.1 2012/06/30 07:05:08 dholland Exp $ + +Fix build with gcc 4.5. + +--- resolvy/resconf.c~ 2008-12-25 04:04:51.000000000 +0000 ++++ resolvy/resconf.c +@@ -109,7 +109,7 @@ static ResolvyEnv *resolvyEnv; + #define lastRRX RE.re_lastRRX + #define F_aton RE.re_F_aton + #define confpath RE.re_confpath +-struct { defQStr(resolv_errmsg); } resolv_errmsg; ++struct resolve_thingy { defQStr(resolv_errmsg); } resolv_errmsg; + #define ns_stop RE.re_ns_stop + + #ifndef RSLV_CONF |