pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/echoping Fix builds on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67721705f46d
branches:  trunk
changeset: 535445:67721705f46d
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Nov 18 00:36:37 2007 +0000

description:
Fix builds on Darwin

diffstat:

 net/echoping/distinfo         |   3 ++-
 net/echoping/hacks.mk         |   9 +++++++++
 net/echoping/patches/patch-ab |  15 +++++++++++++++
 3 files changed, 26 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 4759d27a5c0e -r 67721705f46d net/echoping/distinfo
--- a/net/echoping/distinfo     Sun Nov 18 00:17:05 2007 +0000
+++ b/net/echoping/distinfo     Sun Nov 18 00:36:37 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2007/11/18 00:16:38 adrianp Exp $
+$NetBSD: distinfo,v 1.8 2007/11/18 00:36:37 adrianp Exp $
 
 SHA1 (echoping-6.0.2.tar.gz) = 8b414d1dbc5a0f21a7f2cccb0138aec13117a1a4
 RMD160 (echoping-6.0.2.tar.gz) = 73ee80f4b666fde3a0e02589388e485c487005fc
 Size (echoping-6.0.2.tar.gz) = 1660983 bytes
+SHA1 (patch-ab) = a66af6681503a011cd59a1cb87475f156bde85d4
diff -r 4759d27a5c0e -r 67721705f46d net/echoping/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/echoping/hacks.mk     Sun Nov 18 00:36:37 2007 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2007/11/18 00:37:05 adrianp Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# Fix build on OS X with BIND9 system resolver
+.if ${OPSYS} == "Darwin"
+PKG_HACKS+=            macosx-bind9-bind8compat
+CFLAGS+=               -DBIND_8_COMPAT=1
+.endif
diff -r 4759d27a5c0e -r 67721705f46d net/echoping/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/echoping/patches/patch-ab     Sun Nov 18 00:36:37 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.3 2007/11/18 00:36:38 adrianp Exp $
+
+--- plugins/dns/dns.c.orig     2007-11-18 00:22:32.000000000 +0000
++++ plugins/dns/dns.c
+@@ -11,6 +11,10 @@
+ #include <arpa/nameser.h>
+ #include <resolv.h>
+ 
++#ifndef T_SRV
++#define T_SRV 33
++#endif
++
+ struct addrinfo name_server;
+ poptContext     dns_poptcon;
+ char           *request;



Home | Main Index | Thread Index | Old Index