Author: jfrederic.clere(a)jboss.com
Date: 2008-06-12 08:08:40 -0400 (Thu, 12 Jun 2008)
New Revision: 70
Added:
trunk/php/patch/openldap-2.2.13.patch
Log:
Fix the following of my F9:
+++
cc -g -O2 -I../../include -I../../include
-I/home/jfclere/Linux_x86_64_tools/LPNG/include/libpng12
-I/home/jfclere/Linux_x86_64_tools/LPNG/include/libpng12 -c -o getpeereid.o getpeereid.c
getpeereid.c: In function ?\226?\128?\152getpeereid?\226?\128?\153:
getpeereid.c:47: error: storage size of ?\226?\128?\152peercred?\226?\128?\153
isn?\226?\128?\153t known
getpeereid.c:51: warning: passing argument 5 of ?\226?\128?\152getsockopt?\226?\128?\153
from incompatible pointer type
make[2]: *** [getpeereid.o] Error 1
make[2]: Leaving directory
`/home/jfclere/jbossreflex/php/openldap-2.2.13/libraries/liblutil'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/jfclere/jbossreflex/php/openldap-2.2.13/libraries'
make: *** [all-common] Error 1
Make in openldap-2.2.13 failed
+++
Added: trunk/php/patch/openldap-2.2.13.patch
===================================================================
--- trunk/php/patch/openldap-2.2.13.patch (rev 0)
+++ trunk/php/patch/openldap-2.2.13.patch 2008-06-12 12:08:40 UTC (rev 70)
@@ -0,0 +1,11 @@
+--- openldap-2.2.13/libraries/liblutil/getpeereid.c
++++ openldap-2.2.13/libraries/liblutil/getpeereid.c
+@@ -14,6 +14,8 @@
+ * <
http://www.OpenLDAP.org/license.html>.
+ */
+
++#define _GNU_SOURCE
++
+ #include "portable.h"
+
+ #ifndef HAVE_GETPEEREID