fixed SLE10 build

OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=57
This commit is contained in:
Uwe Gansert 2011-06-10 14:09:53 +00:00 committed by Git OBS Bridge
parent 8253ee2640
commit 8748c87af2
2 changed files with 15 additions and 0 deletions

View File

@ -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()
{

11
configure.in.diff2 Normal file
View File

@ -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