openbsd-ports/net/libbind/patches/patch-resolv_res_data_c

14 lines
368 B
Plaintext

$OpenBSD: patch-resolv_res_data_c,v 1.1 2015/01/26 22:42:04 sthen Exp $
--- resolv/res_data.c.orig Thu Dec 11 09:59:00 2008
+++ resolv/res_data.c Mon Jan 26 22:34:13 2015
@@ -69,7 +69,9 @@ const char *_res_sectioncodes[] = {
};
#endif
+#ifdef NODEF___IN_OPENBSD
#undef _res
+#endif
#ifndef __BIND_NOSTATIC
struct __res_state _res
# if defined(__BIND_RES_TEXT)