[PATCH] www/firefox: fix preference saving problem (remove
fast-math)
Tobias Roth
ports at fsck.ch
Wed Aug 3 16:15:33 GMT 2005
>Submitter-Id: current-users
>Originator: Tobias Roth
>Organization:
>Confidential: no
>Synopsis: [PATCH] www/firefox: fix preference saving problem (remove fast-math)
>Severity: non-critical
>Priority: low
>Category: ports
>Class: sw-bug
>Release: FreeBSD 6.0-BETA1 i386
>Environment:
System: FreeBSD reactor.fsck.ch 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Sat Jul 30 10:06:53 CEST 2005
>Description:
Firefox breaks when compiled with -ffast-math. Symptoms include the
impossibility of saving preferences and sometimes non-functioning of
preference menu buttons.
The attached patch removes -ffast-math completely from CFLAGS.
Alternatively, instead of tampering with CFLAGS, the user could be
only warned when he/she attempts to compile the port with the bad
cflag.
Port maintainer (gnome at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- firefox-1.0.6_1,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/firefox/Makefile,v
retrieving revision 1.127
diff -u -u -r1.127 Makefile
--- Makefile 30 Jul 2005 04:36:55 -0000 1.127
+++ Makefile 3 Aug 2005 16:01:37 -0000
@@ -86,6 +86,9 @@
CONFIGURE_ENV+= WITH_OPTIMIZE=-O
.endif # defined(WITH_OPTIMIZED_CFLAGS)
+# -ffast-math breaks preference-saving and more
+CFLAGS:= ${CFLAGS:N-ffast-math}
+
.if defined(WITH_LOGGING)
CONFIGURE_ENV+= WITH_LOGGING=yes
.endif # defined(WITH_LOGGING)
--- firefox-1.0.6_1,1.patch ends here ---
More information about the freebsd-gnome
mailing list