aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-01 09:37:54 +0800
committermarcus <marcus@FreeBSD.org>2003-03-01 09:37:54 +0800
commit23253e5a9ea7e2cab59a56d792537486f8ecf94c (patch)
tree12f9ef077030e33577b53239eb286d2517c51435
parent819a89df882f146d75db6c12b0d2bf01e539ea4e (diff)
downloadfreebsd-ports-gnome-23253e5a9ea7e2cab59a56d792537486f8ecf94c.tar.gz
freebsd-ports-gnome-23253e5a9ea7e2cab59a56d792537486f8ecf94c.tar.zst
freebsd-ports-gnome-23253e5a9ea7e2cab59a56d792537486f8ecf94c.zip
* Set LC_ALL to C in MAKE_ENV to avoid creating non-well-formed XML
* Allow CJK users to use fixed-width TrueType fonts [1] Submitted by: perky Obtained from: fontconfig CVS [1]
-rw-r--r--x11-fonts/fontconfig/Makefile3
-rw-r--r--x11-fonts/fontconfig/files/patch-src_fcfreetype.c11
2 files changed, 13 insertions, 1 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 5056b88fe885..d4e1988ad990 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-fonts
MASTER_SITES= http://www.fontconfig.org/fontconfig/release/
DISTNAME= fcpackage.${PORTVERSION:S/./_/}
@@ -30,6 +30,7 @@ CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/fonts \
--with-default-fonts=${X11BASE}/lib/X11/fonts
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${DISTNAME}/fontconfig
+MAKE_ENV= LC_ALL=C
MAN1= fc-cache.1 fc-list.1
MAN3= fontconfig.3
diff --git a/x11-fonts/fontconfig/files/patch-src_fcfreetype.c b/x11-fonts/fontconfig/files/patch-src_fcfreetype.c
new file mode 100644
index 000000000000..6b23ad07d022
--- /dev/null
+++ b/x11-fonts/fontconfig/files/patch-src_fcfreetype.c
@@ -0,0 +1,11 @@
+--- src/fcfreetype.c.orig Fri Feb 28 10:44:26 2003
++++ src/fcfreetype.c Fri Feb 28 10:44:41 2003
+@@ -467,7 +467,7 @@
+ if (!FcPatternAddString (pat, FC_SOURCE, (FcChar8 *) "FreeType"))
+ goto bail1;
+
+-#if 1
++#if 0
+ if ((face->face_flags & FT_FACE_FLAG_FIXED_WIDTH) != 0)
+ if (!FcPatternAddInteger (pat, FC_SPACING, FC_MONO))
+ goto bail1;