summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);