SOURCES: php-ac.patch - define __USE_GNU only if necessary

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


Author: hawk                         Date: Tue Jun  3 20:55:47 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- define __USE_GNU only if necessary

---- Files affected:
SOURCES:
   php-ac.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/php-ac.patch
diff -u SOURCES/php-ac.patch:1.1 SOURCES/php-ac.patch:1.2
--- SOURCES/php-ac.patch:1.1	Tue Jun  3 21:43:46 2008
+++ SOURCES/php-ac.patch	Tue Jun  3 22:55:42 2008
@@ -1,13 +1,15 @@
 --- php-5.2.6/ext/posix/posix.c.orig	2008-06-03 20:39:01.000000000 +0200
 +++ php-5.2.6/ext/posix/posix.c	2008-06-03 20:38:26.000000000 +0200
-@@ -36,6 +36,10 @@
+@@ -36,6 +36,12 @@
  #endif
  
  #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>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/php-ac.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list