pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/avahi Fix build on NetBSD 6.99.23.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e309f743786
branches: trunk
changeset: 621174:9e309f743786
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Jul 05 16:28:43 2013 +0000
description:
Fix build on NetBSD 6.99.23.
* EXTRACT_USING=bsdtar for supressing warnings in extract stage.
* Add a patch to fix build on NetBSD 6.99.23, IP_PKTINFO related.
diffstat:
net/avahi/Makefile | 4 +++-
net/avahi/distinfo | 3 ++-
net/avahi/patches/patch-avahi-core_socket.c | 19 +++++++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
diffs (55 lines):
diff -r 78ee8ae53a70 -r 9e309f743786 net/avahi/Makefile
--- a/net/avahi/Makefile Fri Jul 05 16:18:43 2013 +0000
+++ b/net/avahi/Makefile Fri Jul 05 16:28:43 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2013/06/17 12:44:54 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2013/07/05 16:28:43 ryoon Exp $
DISTNAME= avahi-0.6.31
PKGREVISION= 12
@@ -10,6 +10,8 @@
COMMENT= Facilitate service discovery on a local network
LICENSE= gnu-lgpl-v2.1
+EXTRACT_USING= bsdtar
+
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_PKGINSTALL= YES
diff -r 78ee8ae53a70 -r 9e309f743786 net/avahi/distinfo
--- a/net/avahi/distinfo Fri Jul 05 16:18:43 2013 +0000
+++ b/net/avahi/distinfo Fri Jul 05 16:28:43 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2013/04/21 00:58:46 rodent Exp $
+$NetBSD: distinfo,v 1.13 2013/07/05 16:28:43 ryoon Exp $
SHA1 (avahi-0.6.31.tar.gz) = 7e05bd78572c9088b03b1207a0ad5aba38490684
RMD160 (avahi-0.6.31.tar.gz) = 122f553ee2d43cdd0185540a63a8e1f587bdb08e
@@ -7,3 +7,4 @@
SHA1 (patch-ab) = e230ea9d57f40915469486faf4ffaf90ea3ebac3
SHA1 (patch-ah) = 4b3ffdb927daef8c939527fd5c5893f9f88b3ff3
SHA1 (patch-ai) = 48c5fca5683323a30dc646e5eafb1834e7bedaeb
+SHA1 (patch-avahi-core_socket.c) = 503f05f77d95b6f73d933810371c53242d13058c
diff -r 78ee8ae53a70 -r 9e309f743786 net/avahi/patches/patch-avahi-core_socket.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/avahi/patches/patch-avahi-core_socket.c Fri Jul 05 16:28:43 2013 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-avahi-core_socket.c,v 1.1 2013/07/05 16:28:43 ryoon Exp $
+
+* Fix build on NetBSD 6.99.23.
+ From martin@'s post on tech-pkg@.
+
+--- avahi-core/socket.c.orig 2011-04-25 00:12:18.000000000 +0000
++++ avahi-core/socket.c
+@@ -528,7 +528,11 @@ int avahi_send_dns_packet_ipv4(
+ pkti->ipi_ifindex = interface;
+
+ if (src_address)
++#ifdef __linux__
+ pkti->ipi_spec_dst.s_addr = src_address->address;
++#else
++ pkti->ipi_addr.s_addr = src_address->address;
++#endif
+ }
+ #elif defined(IP_MULTICAST_IF)
+ if (src_address) {
Home |
Main Index |
Thread Index |
Old Index