package mod-dnssd
tags 391782 + patch
tags 393012 + patch
thanks

I've patched the mod-dnssd source package to compile correctly against
Apache 2.2 - it seems to be necessary to include the APR 1.0 include
directory in the CFLAGS. Here's the interdiff, minus the automated
updates to config.guess and config.sub that happen at clean time.

The patched source compiles OK in an up-to-date sid schroot/sbuild instance,
and the resulting binary package appears to advertise services correctly on
an up-to-date sid system.

(tbm: I'm also trying to fix the FTBFS you reported in libapache2-mod-fcgid,
if you're interested in that.)

Regards,
        Simon

--- mod-dnssd-0.4/debian/control
+++ mod-dnssd-0.4/debian/control
@@ -2,12 +2,12 @@
 Section: web
 Priority: optional
 Maintainer: Sebastien ESTIENNE <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, apache2-prefork-dev | 
apache2-threaded-dev, libavahi-client-dev (>= 0.6.4), lynx
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, apache2-prefork-dev | 
apache2-threaded-dev, libavahi-client-dev (>= 0.6.4), lynx, libapr1-dev
 Standards-Version: 3.6.2
 
 Package: libapache2-mod-dnssd
 Architecture: any
-Depends: ${shlibs:Depends}, avahi-daemon (>= 0.6.5), apache2-common
+Depends: ${shlibs:Depends}, avahi-daemon (>= 0.6.5), apache2.2-common
 Description: Apache 2 module which adds Zeroconf support via avahi
  mod_dnssd is an Apache HTTPD module which adds Zeroconf support 
  via DNS-SD using Avahi.
diff -u mod-dnssd-0.4/debian/changelog mod-dnssd-0.4/debian/changelog
--- mod-dnssd-0.4/debian/changelog
+++ mod-dnssd-0.4/debian/changelog
@@ -1,3 +1,10 @@
+mod-dnssd (0.4-1.1~smcv0) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Alter source to compile with Apache 2.2 (closes: #391782, #393012)
+
+ -- Simon McVittie <[EMAIL PROTECTED]>  Sun, 15 Oct 2006 15:09:47 +0100
+
 mod-dnssd (0.4-1) unstable; urgency=low
 
   * New upstream release
diff -u mod-dnssd-0.4/debian/rules mod-dnssd-0.4/debian/rules
--- mod-dnssd-0.4/debian/rules
+++ mod-dnssd-0.4/debian/rules
@@ -19,7 +19,7 @@
 
 config.status: configure
        dh_testdir
-       CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info
+       CFLAGS="$(CFLAGS) `pkg-config --cflags apr-1` -Wl,-z,defs" ./configure 
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr 
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 
 build: build-stamp


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to