aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontconfig
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-19 03:24:08 +0800
committermarcus <marcus@FreeBSD.org>2003-07-19 03:24:08 +0800
commit8d2a1285547fa3dab0093d207754637bd131499d (patch)
tree37d5d8292586afa1f74d51e9ee06ad8d5483447d /x11-fonts/fontconfig
parent1d4b4c54b67673744e2990912fb2fe39a2868fc5 (diff)
downloadfreebsd-ports-gnome-8d2a1285547fa3dab0093d207754637bd131499d.tar.gz
freebsd-ports-gnome-8d2a1285547fa3dab0093d207754637bd131499d.tar.zst
freebsd-ports-gnome-8d2a1285547fa3dab0093d207754637bd131499d.zip
Fix a problem with certain languages not having any fonts in Mozilla and
Mozilla-based browsers.
Diffstat (limited to 'x11-fonts/fontconfig')
-rw-r--r--x11-fonts/fontconfig/Makefile1
-rw-r--r--x11-fonts/fontconfig/files/patch-src_fccfg.c15
2 files changed, 16 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 81c093c33c9e..45b49afe6c45 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.2.90
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.fontconfig.org/release/ \
http://nexp.cs.pdx.edu/fontconfig/release/
diff --git a/x11-fonts/fontconfig/files/patch-src_fccfg.c b/x11-fonts/fontconfig/files/patch-src_fccfg.c
new file mode 100644
index 000000000000..d5870aac016e
--- /dev/null
+++ b/x11-fonts/fontconfig/files/patch-src_fccfg.c
@@ -0,0 +1,15 @@
+--- src/fccfg.c.orig Fri Jul 18 15:22:21 2003
++++ src/fccfg.c Fri Jul 18 15:20:03 2003
+@@ -617,10 +617,10 @@
+ case FcTypeLangSet:
+ switch (op) {
+ case FcOpContains:
+- ret = FcLangSetContains (m.u.l, v.u.l);
++ ret = FcLangSetContains (v.u.l, m.u.l);
+ break;
+ case FcOpNotContains:
+- ret = FcLangSetContains (m.u.l, v.u.l);
++ ret = FcLangSetContains (v.u.l, m.u.l);
+ break;
+ case FcOpEqual:
+ ret = FcLangSetEqual (m.u.l, v.u.l);