SOURCES: php4-ac.patch (NEW) - workaround for building with autoconf 2.62

hawk hawk at pld-linux.org
Tue Jun 3 22:55:05 CEST 2008


Author: hawk                         Date: Tue Jun  3 20:55:05 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- workaround for building with autoconf 2.62

---- Files affected:
SOURCES:
   php4-ac.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php4-ac.patch
diff -u /dev/null SOURCES/php4-ac.patch:1.1
--- /dev/null	Tue Jun  3 22:55:05 2008
+++ SOURCES/php4-ac.patch	Tue Jun  3 22:55:00 2008
@@ -0,0 +1,15 @@
+--- php-4.4.8/ext/posix/posix.c.orig	2008-06-03 21:49:38.000000000 +0200
++++ php-4.4.8/ext/posix/posix.c	2008-06-03 21:48:37.000000000 +0200
+@@ -35,6 +35,12 @@
+ 
+ #include <unistd.h>
+ #include <sys/resource.h>
++/* We want domainname instead of __domainname */
++#ifdef _GNU_SOURCE
++#ifndef __USE_GNU
++#define __USE_GNU
++#endif
++#endif
+ #include <sys/utsname.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
================================================================


More information about the pld-cvs-commit mailing list