summaryrefslogtreecommitdiff
path: root/net/mDNSResponder/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-02-04 21:02:31 +0000
committermarkd <markd@pkgsrc.org>2006-02-04 21:02:31 +0000
commit9ad7f9581af440d47a7f3b5b965b206b30c2f007 (patch)
treeea800b7fabc6013ee78410d532f8bf8b94238068 /net/mDNSResponder/patches
parent86661bacce4dae1bf0949c4d6bc010d316133a89 (diff)
downloadpkgsrc-9ad7f9581af440d47a7f3b5b965b206b30c2f007.tar.gz
Fix build on Solaris.
Diffstat (limited to 'net/mDNSResponder/patches')
-rw-r--r--net/mDNSResponder/patches/patch-aa25
-rw-r--r--net/mDNSResponder/patches/patch-ab13
2 files changed, 34 insertions, 4 deletions
diff --git a/net/mDNSResponder/patches/patch-aa b/net/mDNSResponder/patches/patch-aa
index 2b8c7f24aec..002e7a59516 100644
--- a/net/mDNSResponder/patches/patch-aa
+++ b/net/mDNSResponder/patches/patch-aa
@@ -1,8 +1,25 @@
-$NetBSD: patch-aa,v 1.6 2006/01/17 12:44:33 tron Exp $
+$NetBSD: patch-aa,v 1.7 2006/02/04 21:02:31 markd Exp $
---- mDNSPosix/Makefile.orig 2006-01-06 01:06:17.000000000 +0000
-+++ mDNSPosix/Makefile 2006-01-17 11:30:40.000000000 +0000
-@@ -643,7 +643,7 @@
+--- mDNSPosix/Makefile.orig 2006-01-06 14:06:17.000000000 +1300
++++ mDNSPosix/Makefile
+@@ -281,6 +281,7 @@ CFLAGS_OS = -DNOT_HAVE_DAEMON -DNOT_HAVE
+ CC = gcc
+ LD = gcc -shared
+ LIBFLAGS = -lsocket -lnsl -lresolv
++SYSTEMLIBS = -lsocket -lnsl
+ JAVACFLAGS_OS += -I$(JDK)/include/solaris
+ ifneq ($(DEBUG),1)
+ STRIP = strip
+@@ -450,7 +451,7 @@ Clients: setup libdns_sd ../Clients/buil
+ @echo "Clients done"
+
+ ../Clients/build/dns-sd:
+- @$(MAKE) -C ../Clients
++ @$(MAKE) -C ../Clients SYSTEMLIBS="$(SYSTEMLIBS)"
+
+ # nss_mdns target builds the Name Service Switch module
+ nss_mdns: setup $(BUILDDIR)/$(NSSLIBFILE)
+@@ -643,7 +644,7 @@ $(BUILDDIR)/mDNSNetMonitor: $(S
$(CC) $+ -o $@ $(LIBFLAGS)
$(BUILDDIR)/dnsextd: $(SPECIALOBJ) $(OBJDIR)/dnsextd.c.threadsafe.o
diff --git a/net/mDNSResponder/patches/patch-ab b/net/mDNSResponder/patches/patch-ab
new file mode 100644
index 00000000000..637bf0de599
--- /dev/null
+++ b/net/mDNSResponder/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2006/02/04 21:02:31 markd Exp $
+
+--- Clients/Makefile.orig 2006-02-03 23:36:07.253466000 +1300
++++ Clients/Makefile
+@@ -56,7 +56,7 @@
+ ifneq "$(wildcard /usr/lib/libSystem.dylib)" ""
+ LIBS =
+ else
+-LIBS = -L../mDNSPosix/build/prod/ -ldns_sd
++LIBS = -L../mDNSPosix/build/prod/ -ldns_sd $(SYSTEMLIBS)
+ endif
+
+ targets: build/dns-sd