[Pkg-openldap-devel] r1215 - openldap/trunk/debian

Mathias Gug mathiaz at ubuntu.com
Wed Feb 25 18:43:58 UTC 2009


On Tue, Feb 24, 2009 at 11:25:41PM +0000, vorlon at alioth.debian.org wrote:
> Author: vorlon
> Date: 2009-02-24 23:25:41 +0000 (Tue, 24 Feb 2009)
> New Revision: 1215
> 
> Modified:
>    openldap/trunk/debian/changelog
>    openldap/trunk/debian/rules
> Log:
> Add -D_GNU_SOURCE to CFLAGS, apparently required for building with
> current headers in unstable

I've attached a patch used in Ubuntu to workaround the same problem.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com
-------------- next part --------------
diff -Naur openldap2.3_2.4.9.orig/libraries/liblutil/getpeereid.c openldap2.3_2.4.9/libraries/liblutil/getpeereid.c
--- openldap2.3_2.4.9.orig/libraries/liblutil/getpeereid.c	2008-02-11 18:26:42.000000000 -0500
+++ openldap2.3_2.4.9/libraries/liblutil/getpeereid.c	2008-06-02 14:11:28.000000000 -0400
@@ -13,6 +13,7 @@
  * top-level directory of the distribution or, alternatively, at
  * <http://www.OpenLDAP.org/license.html>.
  */
+#define _GNU_SOURCE
 
 #include "portable.h"
 


More information about the Pkg-openldap-devel mailing list