]> git.pld-linux.org Git - packages/php.git/commitdiff
- define __USE_GNU only if necessary
authorhawk <hawk@pld-linux.org>
Tue, 3 Jun 2008 20:55:42 +0000 (20:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-ac.patch -> 1.2

php-ac.patch

index 0d9f90ac9d6653d2b94b5f26a0bb970069ccc142..3d73f91ce7f47166d18e8ce83ba9163709173f9a 100644 (file)
@@ -1,12 +1,14 @@
 --- 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>
This page took 0.944101 seconds and 4 git commands to generate.