From 8748c87af209a875e395b9be38bd270da8016bc80b55ca3fa63d5a6fa6ddfbbf Mon Sep 17 00:00:00 2001 From: Uwe Gansert Date: Fri, 10 Jun 2011 14:09:53 +0000 Subject: [PATCH] fixed SLE10 build OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=57 --- bind.spec | 4 ++++ configure.in.diff2 | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 configure.in.diff2 diff --git a/bind.spec b/bind.spec index 4ac1dca..fab7ef0 100644 --- a/bind.spec +++ b/bind.spec @@ -49,6 +49,7 @@ Patch5: tmpfs.patch Patch51: pie_compile.diff Patch52: named-bootconf.diff Patch54: named-direct-proc-mount.diff +patch100: configure.in.diff2 Source60: dlz-schema.txt %if %ul_version >= 1 %define VENDOR UL @@ -231,6 +232,9 @@ Authors: %patch52 #%patch53 %patch54 -p1 +%if 0%{?suse_version} <= 1010 +%patch100 -p1 +%endif # modify settings of some files regarding to OS version and vendor function replaceStrings() { diff --git a/configure.in.diff2 b/configure.in.diff2 new file mode 100644 index 0000000..a05b830 --- /dev/null +++ b/configure.in.diff2 @@ -0,0 +1,11 @@ +--- a/configure.in ++++ a/configure.in 2011/04/21 13:34:11 +@@ -280,7 +280,7 @@ + AC_C_INLINE + AC_C_VOLATILE + AC_CHECK_FUNC(sysctlbyname, AC_DEFINE(HAVE_SYSCTLBYNAME)) +-AC_C_FLEXIBLE_ARRAY_MEMBER ++#AC_C_FLEXIBLE_ARRAY_MEMBER + + # + # UnixWare 7.1.1 with the feature supplement to the UDK compiler