pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libbind libbind: Fix SunOS/clang.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a5e40365ac5d
branches: trunk
changeset: 375070:a5e40365ac5d
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Feb 02 16:15:21 2018 +0000
description:
libbind: Fix SunOS/clang.
diffstat:
net/libbind/distinfo | 3 ++-
net/libbind/patches/patch-resolv_res__comp.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 37fb8edf7a59 -r a5e40365ac5d net/libbind/distinfo
--- a/net/libbind/distinfo Fri Feb 02 16:00:41 2018 +0000
+++ b/net/libbind/distinfo Fri Feb 02 16:15:21 2018 +0000
@@ -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-config.threads.in) = e6df8706b9ff3251dbf91284c4b19397a4ca05b3
SHA1 (patch-configure.in) = 6d1549d5b5a63c51e6d47e557b59d819ecf43824
SHA1 (patch-doc_Makefile.in) = 0ebc227322e3bd10b5b9a242073539868f440ba2
+SHA1 (patch-resolv_res__comp.c) = 49fc9a1e9b1db222517c51717b4206c8ff07c010
diff -r 37fb8edf7a59 -r a5e40365ac5d net/libbind/patches/patch-resolv_res__comp.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/patches/patch-resolv_res__comp.c Fri Feb 02 16:15:21 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index