forked from jengelh/openldap2
This commit is contained in:
parent
06f6d1d7a3
commit
b3a186e17b
13
openldap2-add-gnu-source.diff
Normal file
13
openldap2-add-gnu-source.diff
Normal file
@ -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 @@
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
+
|
||||
#include "portable.h"
|
||||
|
||||
#ifndef HAVE_GETPEEREID
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user