[pkg-dhcp-devel] Bug#643569: 4.2.2 fails to build with -Werror=unused-but-set-variable

Andrew Pollock apollock at debian.org
Tue Oct 25 06:30:07 UTC 2011


Hello,

4.2.2 doesn't build on kfreebsd. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643569 for more details.

I've been given a patch that fixes it, but it needs to be made to the BIND
sources that are in the tarball that gets unpacked at build time, so I don't
have a good way of applying the patch during the build. I think I'm stuck
resolving this bug until you make a new release that includes the patch.

Please maintain the Cc to keep our bug tracking system in the loop.

----- Forwarded message from Robert Millan <rmh at debian.org> -----

Date: Sat, 15 Oct 2011 13:29:36 +0200
From: Robert Millan <rmh at debian.org>
To: 643569 at bugs.debian.org
Subject: Bug#643569: patch

tag 643569 patch
thanks

Hi,

Here's a patch to fix this.

-- 
Robert Millan

--- bind/bind-9.8.0-P4/configure.in~	2011-02-03 06:50:05.000000000 +0100
+++ bind/bind-9.8.0-P4/configure.in	2011-10-15 12:56:31.911737774 +0200
@@ -263,7 +263,7 @@
 	# as it breaks how the two halves (Basic and Advanced) of the IPv6
 	# Socket API were designed to be used but we have to live with it.
 	# Define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
-	*-linux*)
+	*-linux* | *-*-gnu | *-gnu*)
 		STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE"
 		CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
 		;;


----- End forwarded message -----





More information about the pkg-dhcp-devel mailing list