summaryrefslogtreecommitdiff
path: root/net/libbind
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-02-02 16:15:21 +0000
committerjperkin <jperkin@pkgsrc.org>2018-02-02 16:15:21 +0000
commitfaaceeb22d63698d3fcbfe3846be18282a2a9ba7 (patch)
treef405d7097191ce72dcc0075fea21a38117e17c37 /net/libbind
parentf6b7ccbe46b86cdb7fe75cc80b011f09b0e0c7b1 (diff)
downloadpkgsrc-faaceeb22d63698d3fcbfe3846be18282a2a9ba7.tar.gz
libbind: Fix SunOS/clang.
Diffstat (limited to 'net/libbind')
-rw-r--r--net/libbind/distinfo3
-rw-r--r--net/libbind/patches/patch-resolv_res__comp.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/libbind/distinfo b/net/libbind/distinfo
index 684781dbc3c..db83cdfff0a 100644
--- a/net/libbind/distinfo
+++ b/net/libbind/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 00:35:08 agc Exp $
+$NetBSD: distinfo,v 1.8 2018/02/02 16:15:21 jperkin Exp $
SHA1 (libbind-6.0.tar.gz) = 4664646238cd3602df168da1e9bc9591d3f566b2
RMD160 (libbind-6.0.tar.gz) = bfafac89a455a05202763f6e10f292978085d811
@@ -9,3 +9,4 @@ SHA1 (patch-ab) = 181cd18ed571b064e13fc83b97cb1f8cc86d5fc2
SHA1 (patch-config.threads.in) = e6df8706b9ff3251dbf91284c4b19397a4ca05b3
SHA1 (patch-configure.in) = 6d1549d5b5a63c51e6d47e557b59d819ecf43824
SHA1 (patch-doc_Makefile.in) = 0ebc227322e3bd10b5b9a242073539868f440ba2
+SHA1 (patch-resolv_res__comp.c) = 49fc9a1e9b1db222517c51717b4206c8ff07c010
diff --git a/net/libbind/patches/patch-resolv_res__comp.c b/net/libbind/patches/patch-resolv_res__comp.c
new file mode 100644
index 00000000000..f6c53633bc6
--- /dev/null
+++ b/net/libbind/patches/patch-resolv_res__comp.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-resolv_res__comp.c,v 1.1 2018/02/02 16:15:21 jperkin Exp $
+
+Fix SunOS/clang.
+
+--- resolv/res_comp.c.orig 2005-07-28 06:51:50.000000000 +0000
++++ resolv/res_comp.c
+@@ -243,7 +243,7 @@ res_dnok(const char *dn) {
+ * Note that one _ comes from C and the others come from us.
+ */
+
+-#ifdef SOLARIS2
++#if defined(SOLARIS2) && !defined(__clang__)
+ #ifdef __putlong
+ #undef __putlong
+ #endif