diff --git a/openldap2-add-gnu-source.diff b/openldap2-add-gnu-source.diff new file mode 100644 index 0000000..f76d384 --- /dev/null +++ b/openldap2-add-gnu-source.diff @@ -0,0 +1,13 @@ +Index: openldap-2.4.8/libraries/liblutil/getpeereid.c +=================================================================== +--- openldap-2.4.8.orig/libraries/liblutil/getpeereid.c ++++ openldap-2.4.8/libraries/liblutil/getpeereid.c +@@ -14,6 +14,8 @@ + * . + */ + ++#define _GNU_SOURCE ++ + #include "portable.h" + + #ifndef HAVE_GETPEEREID diff --git a/openldap2-client.changes b/openldap2-client.changes index 120b68e..7122604 100644 --- a/openldap2-client.changes +++ b/openldap2-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 10 23:07:30 CEST 2008 - matz@suse.de + +- Compile with glibc 2.8. + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/openldap2-client.spec b/openldap2-client.spec index 6c30f50..fddc24b 100644 --- a/openldap2-client.spec +++ b/openldap2-client.spec @@ -29,7 +29,7 @@ Summary: OpenLDAP Client Utilities %endif AutoReqProv: on Version: 2.4.8 -Release: 17 +Release: 18 Source: openldap-%{version}.tar.bz2 Source1: openldap-rc.tgz Source2: addonschema.tar.gz @@ -44,6 +44,7 @@ Patch5: openldap-ntlm.diff Patch6: libldap-gethostbyname_r.dif Patch7: pie-compile.dif Patch8: slapd_getaddrinfo_dupl.dif +Patch9: openldap2-add-gnu-source.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -121,6 +122,7 @@ Authors: %patch6 %patch7 %patch8 -p1 +%patch9 -p1 %build %{?suse_update_config:%{suse_update_config -f build}} @@ -343,6 +345,8 @@ fi %endif %changelog +* Fri Apr 11 2008 matz@suse.de +- Compile with glibc 2.8. * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support diff --git a/openldap2.changes b/openldap2.changes index 120b68e..7122604 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 10 23:07:30 CEST 2008 - matz@suse.de + +- Compile with glibc 2.8. + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/openldap2.spec b/openldap2.spec index 628573f..3c20091 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -29,7 +29,7 @@ Summary: The OpenLDAP Server %endif AutoReqProv: on Version: 2.4.8 -Release: 17 +Release: 18 Source: openldap-%{version}.tar.bz2 Source1: openldap-rc.tgz Source2: addonschema.tar.gz @@ -44,6 +44,7 @@ Patch5: openldap-ntlm.diff Patch6: libldap-gethostbyname_r.dif Patch7: pie-compile.dif Patch8: slapd_getaddrinfo_dupl.dif +Patch9: openldap2-add-gnu-source.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -124,6 +125,7 @@ Authors: %patch6 %patch7 %patch8 -p1 +%patch9 -p1 %build %{?suse_update_config:%{suse_update_config -f build}} @@ -346,6 +348,8 @@ fi %endif %changelog +* Fri Apr 11 2008 matz@suse.de +- Compile with glibc 2.8. * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support