--- bind/bind-9.8.0-P4/configure.in.orig 2012-01-13 01:59:50.000000000 +0100 +++ bind/bind-9.8.0-P4/configure.in 2012-01-13 02:00:00.000000000 +0100 @@ -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*) STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE" CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ;; --- bind/bind-9.8.0-P4/configure.orig 2012-01-13 02:00:47.000000000 +0100 +++ bind/bind-9.8.0-P4/configure 2012-01-13 02:02:44.000000000 +0100 @@ -19613,7 +19613,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*) STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE" CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ;;