get rid of 2/3 of mtr's library warnings

This commit is contained in:
sthen 2013-11-29 11:45:26 +00:00
parent a51fbed706
commit 97ff5f4887
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2013/07/13 11:53:22 sthen Exp $
# $OpenBSD: Makefile,v 1.15 2013/11/29 11:45:26 sthen Exp $
COMMENT= BIND stub resolver library
@ -7,7 +7,7 @@ DISTNAME= libbind-6.0
EPOCH= 0
REVISION= 0
SHARED_LIBS += bind 3.0 # 6.1
SHARED_LIBS += bind 4.0 # 6.1
CATEGORIES= net

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-include_resolv_h,v 1.1 2013/11/29 11:45:26 sthen Exp $
--- include/resolv.h.orig Fri Nov 29 11:08:39 2013
+++ include/resolv.h Fri Nov 29 11:09:22 2013
@@ -336,6 +336,9 @@ int res_sendsigned __P((const u_char *, int, ns_tsig_
__END_DECLS
#endif
+#define __p_class_syms __LB__p_class_syms
+#define __p_type_syms __LB__p_type_syms
+
#if !defined(SHARED_LIBBIND) || defined(LIB)
/*
* If libbind is a shared object (well, DLL anyway)