HEADS UP: Firefox and Thunderbird printing crashes possible fix

Joe Marcus Clarke marcus at FreeBSD.org
Fri Oct 29 12:33:57 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you're experiencing a crash in Firefox or Thunderbird when trying to
print, and you're using CUPS, please replace
files/patch-security-coreconf-FreeBSD.mk with the attached patch, and
rebuild.  I believe this should do the trick.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBgpsrb2iPiv4Uz4cRAsjvAJ9SA9VMAsgsUL3FC5here/NWCY6qQCfWyTM
Xjr5WoVqdqGHrrhffdOQgMA=
=PN2X
-----END PGP SIGNATURE-----
-------------- next part --------------
--- security/coreconf/FreeBSD.mk.orig	Wed Mar 26 20:17:25 2003
+++ security/coreconf/FreeBSD.mk	Fri Oct 29 15:30:45 2004
@@ -43,8 +43,12 @@
 ifeq ($(OS_TEST),alpha)
 CPU_ARCH		= alpha
 else
+ifeq ($(OS_TEST),amd64)
+CPU_ARCH		= amd64
+else
 CPU_ARCH		= x86
 endif
+endif
 
 OS_CFLAGS		= $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 
@@ -71,7 +75,12 @@
 DLL_SUFFIX		= so.1.0
 endif
 
-MKSHLIB			= $(CC) $(DSO_LDOPTS)
+ifneq (,$(filter alpha ia64,$(OS_TEST)))
+MKSHLIB			= $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
+else
+MKSHLIB			= $(CC) -Wl,-Bsymbolic $(DSO_LDOPTS) -o $@
+endif
+
 ifdef MAPFILE
 # Add LD options to restrict exported symbols to those in the map file
 endif


More information about the freebsd-ports mailing list