SPECS: mozilla-firefox.spec - few fixes to build with gcc 4.1 (sti...
wrobell
wrobell at pld-linux.org
Fri Mar 3 21:03:47 CET 2006
Author: wrobell Date: Fri Mar 3 20:03:47 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- few fixes to build with gcc 4.1 (still fails)
---- Files affected:
SPECS:
mozilla-firefox.spec (1.125 -> 1.126)
---- Diffs:
================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.125 SPECS/mozilla-firefox.spec:1.126
--- SPECS/mozilla-firefox.spec:1.125 Wed Mar 1 14:05:12 2006
+++ SPECS/mozilla-firefox.spec Fri Mar 3 21:03:42 2006
@@ -1,6 +1,11 @@
# $Revision$, $Date$
#
# TODO:
+# - with new gcc version (it is possible that)
+# - -fvisibility=hiddenn and ac_cv_visibility_pragma=no can be removed
+# - with new firefox version (it is possible that)
+# - -fno-strict-aliasing can be removed (needs to be tested carefuly,
+# not to be fixed soon, imho)
# - handle locales differently (runtime, since it's possible to do)
# - see ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/*diff*
# for hints how to make locales and other stuff like extensions working
@@ -25,6 +30,8 @@
Patch2: %{name}-nss-system-nspr.patch
Patch3: %{name}-nopangoxft.patch
Patch4: %{name}-name.patch
+Patch5: %{name}-dumpstack.patch
+Patch6: %{name}-pango-typo.patch
# UPDATE or DROP?
#PatchX: %{name}-searchplugins.patch
URL: http://www.mozilla.org/projects/firefox/
@@ -105,6 +112,8 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p0
+%patch6 -p0
sed -i 's/\(-lgss\)\(\W\)/\1disable\2/' configure
@@ -181,10 +190,11 @@
ac_add_options --with-system-nspr
ac_add_options --with-system-png
ac_add_options --with-system-zlib
+ac_cv_visibility_pragma=no
EOF
%{__make} -j1 -f client.mk build \
- CC="%{__cc}" \
+ CC="%{__cc} -fno-strict-aliasing -fvisibility=hidden" \
CXX="%{__cxx}"
%install
@@ -352,6 +362,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.126 2006/03/03 20:03:42 wrobell
+- few fixes to build with gcc 4.1 (still fails)
+
Revision 1.125 2006/03/01 13:05:12 qboosh
- obsolete installed-chrome.txt cleanup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.125&r2=1.126&f=u
More information about the pld-cvs-commit
mailing list