packages: php/php.spec - visibility hidden was most likely cause of the bui...

arekm arekm at pld-linux.org
Mon Jul 13 22:40:27 CEST 2009


Author: arekm                        Date: Mon Jul 13 20:40:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- visibility hidden was most likely cause of the build fauilure; revert libstdc++ commit

---- Files affected:
packages/php:
   php.spec (1.809 -> 1.810) 

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.809 packages/php/php.spec:1.810
--- packages/php/php.spec:1.809	Mon Jul 13 19:49:43 2009
+++ packages/php/php.spec	Mon Jul 13 22:40:21 2009
@@ -158,8 +158,6 @@
 BuildRequires:	libltdl-devel >= 1.4
 BuildRequires:	libmcrypt-devel >= 2.4.4
 BuildRequires:	libpng-devel >= 1.0.8
-# otherwise check for "xxx-pld-linux-g++ static flag -static" fails
-BuildRequires:  libstdc++-static
 BuildRequires:	libtiff-devel
 %if "%{pld_release}" != "ac"
 BuildRequires:	libtool >= 2:2.2
@@ -1642,6 +1640,9 @@
 #rm -rf ext/soap/interop
 rm -rf ext/xmlrpc/libxmlrpc
 
+# breaks build
+sed -i -e 's#-fvisibility=hidden##g' configure*
+
 %build
 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
 if [ $API != %{php_api_version} ]; then
@@ -2720,6 +2721,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.810  2009/07/13 20:40:21  arekm
+- visibility hidden was most likely cause of the build fauilure; revert libstdc++ commit
+
 Revision 1.809  2009/07/13 17:49:43  arekm
 - add BR libstdc++-static
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.809&r2=1.810&f=u



More information about the pld-cvs-commit mailing list