linux-fontconfig vs. linux-firefox

Mikhail Teterin mi+kde at
Sat Sep 17 17:05:15 PDT 2005

While using FreeBSD-5.x/amd64 I had to remove the ~/.fonts.cache-1 prior
to starting the linux-firefox, which would otherwise crash on start-up
from "illegal instruction".

My attempts to understand, what's happening led me to believe, there was
something wrong with the fontconfig library and removing the fonts.cache
was the workaround.

However, the workaround stopped helping upon my upgrade to FreeBSD-6.x.

The patch below helps me use linux-firefox every time now, probably,
because the latest releases of the browser are being built by Mozilla's
Linux servers against newer version of the fontconfig. Either the old
(2.1) version of fontconfig is not quite ABI-compatible with the new
one, or the actual binaries inside RPM use CPU instructions unsuitable
for amd64.

My patch brings the library up to the 2.2.3, which is what the native
fontconfig installs and they download the 32-bit version, which was
built by RedHat for x86_64 (Linuxish for amd64).

I'd stick to the native 64-bit self-built firefox, but there are no
flash plugins for 64-bit-anything (not even Windows).

Please, test this new RPM and consider comitting. Maybe, other
RPM-installing ports should be similarly updated? Thanks!



Index: Makefile
RCS file: /home/pcvs/ports/x11-fonts/linux-fontconfig/Makefile,v
retrieving revision 1.9
diff -U2 -r1.9 Makefile
--- Makefile	17 Jun 2005 22:59:28 -0000	1.9
+++ Makefile	17 Sep 2005 23:56:57 -0000
@@ -7,7 +7,7 @@
 PORTNAME=	fontconfig
 CATEGORIES=	x11-fonts linux
 MAINTAINER=	freebsd-emulation at
@@ -22,5 +22,5 @@
 ONLY_FOR_ARCHS=	i386 amd64
 PLIST=		${WRKDIR}/plist
-RPM_SET=	fontconfig-2.1-9.i386.rpm
+RPM_SET=	fontconfig-2.2.3-5.i386.rpm
 #PKGINSTALL=	${WRKDIR}/pkg-install
Index: distinfo.i386
RCS file: /home/pcvs/ports/x11-fonts/linux-fontconfig/distinfo.i386,v
retrieving revision 1.2
diff -U2 -r1.2 distinfo.i386
--- distinfo.i386	17 Mar 2004 18:29:15 -0000	1.2
+++ distinfo.i386	17 Sep 2005 23:56:57 -0000
@@ -1,3 +1,2 @@
-$FreeBSD: ports/x11-fonts/linux-fontconfig/distinfo.i386,v 1.2 2004/03/17 
18:29:15 trevor Exp $
-MD5 (rpm/fontconfig-2.1-9.i386.rpm) = 86e827ffaa502266116047e840f8eb8f
-SIZE (rpm/fontconfig-2.1-9.i386.rpm) = 106739
+MD5 (rpm/fontconfig-2.2.3-5.i386.rpm) = eb0363e0c829ce9d13ba4e0c68ea8458
+SIZE (rpm/fontconfig-2.2.3-5.i386.rpm) = 118946

More information about the freebsd-amd64 mailing list