[Pkg-utopia-commits] r3368 - in /packages/unstable/avahi/debian: changelog patches/25_check_net_if_dl_h_for_pfroute.patch

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Jan 13 21:43:47 UTC 2010


Author: biebl
Date: Wed Jan 13 21:43:46 2010
New Revision: 3368

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3368
Log:
* debian/patches/25_check_net_if_dl_h_for_pfroute.patch
  - Fix build failure on GNU/Hurd by improving the configure check to also
    test for net/if_dl.h so the correct backend is used. (Closes: #558975)
    Thanks to Pino Toscano for the patch.

Added:
    packages/unstable/avahi/debian/patches/25_check_net_if_dl_h_for_pfroute.patch
Modified:
    packages/unstable/avahi/debian/changelog

Modified: packages/unstable/avahi/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/avahi/debian/changelog?rev=3368&op=diff
==============================================================================
--- packages/unstable/avahi/debian/changelog (original)
+++ packages/unstable/avahi/debian/changelog Wed Jan 13 21:43:46 2010
@@ -7,6 +7,10 @@
   * debian/patches/20_avahi-daemon_kfreebsd.patch
     - Fix avahi-daemon on GNU/kFreeBSD. (Closes: #564607)
       Thanks to Julien BLACHE for the patch.
+  * debian/patches/25_check_net_if_dl_h_for_pfroute.patch
+    - Fix build failure on GNU/Hurd by improving the configure check to also
+      test for net/if_dl.h so the correct backend is used. (Closes: #558975)
+      Thanks to Pino Toscano for the patch.
 
  -- Michael Biebl <biebl at debian.org>  Wed, 13 Jan 2010 21:25:47 +0100
 

Added: packages/unstable/avahi/debian/patches/25_check_net_if_dl_h_for_pfroute.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/avahi/debian/patches/25_check_net_if_dl_h_for_pfroute.patch?rev=3368&op=file
==============================================================================
--- packages/unstable/avahi/debian/patches/25_check_net_if_dl_h_for_pfroute.patch (added)
+++ packages/unstable/avahi/debian/patches/25_check_net_if_dl_h_for_pfroute.patch Wed Jan 13 21:43:46 2010
@@ -1,0 +1,25 @@
+Description: Fix build failure on GNU/Hurd
+ The scenario is the following: in avahi-core, three different network
+ interface backends,
+ - iface-linux.c (compiled if linux/netlink.h is found)
+ - iface-pfroute.c (compiled if net/route.h is found)
+ - iface-none.c (compiled in the remaining cases)
+ on Hurd, it finds net/route.h so it tries to compile the pfroute backend; the
+ problem is that the backend uses net/if_dl.h and the rt_* network stuff,
+ unavailable on the Hurd.
+ The proposed patch extends the configure check for net/route.h by adding
+ net/if_dl.h among the includes needed for the check, so it will pass if both
+ net/route.h and net/if_dl.h are available.
+Author: Pino Toscano <pino at kde.org>
+Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558975
+Bug: http://avahi.org/ticket/298
+Index: avahi-0.6.25/configure.ac
+===================================================================
+@@ -169,6 +170,7 @@
+ , [], [
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <net/if_dl.h>
+ ])
+ 
+ AM_CONDITIONAL(HAVE_PF_ROUTE, [ test x"$HAVE_PF_ROUTE" = xyes ])




More information about the Pkg-utopia-commits mailing list