aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-10 00:30:34 +0800
committerpav <pav@FreeBSD.org>2007-03-10 00:30:34 +0800
commit3dce5095a4c6c982754cc9820225f89cca4d3029 (patch)
treeec0ba4e8db0b8de790091e7ab0f144030c97d120
parent5ea4cb9718ca97d018e7d9b4fdf7d19fd8d62dd1 (diff)
downloadfreebsd-ports-gnome-3dce5095a4c6c982754cc9820225f89cca4d3029.tar.gz
freebsd-ports-gnome-3dce5095a4c6c982754cc9820225f89cca4d3029.tar.zst
freebsd-ports-gnome-3dce5095a4c6c982754cc9820225f89cca4d3029.zip
- fc-match: Add 's' to getopt pattern, so -s is recognized
PR: ports/109976 Submitted by: Denis Eremenko <moonshade@pnhz.kz>
-rw-r--r--x11-fonts/fontconfig/Makefile2
-rw-r--r--x11-fonts/fontconfig/files/patch-fc_match.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index a265a51ef1f1..0635db5b9502 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -8,7 +8,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.3.2
-PORTREVISION?= 6
+PORTREVISION?= 7
PORTEPOCH?= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://fontconfig.org/release/
diff --git a/x11-fonts/fontconfig/files/patch-fc_match.c b/x11-fonts/fontconfig/files/patch-fc_match.c
new file mode 100644
index 000000000000..5f8564fff291
--- /dev/null
+++ b/x11-fonts/fontconfig/files/patch-fc_match.c
@@ -0,0 +1,11 @@
+--- fc-match/fc-match.c.orig Mon Dec 6 20:25:18 2004
++++ fc-match/fc-match.c Fri Mar 9 17:26:55 2007
+@@ -99,7 +99,7 @@
+ int c;
+
+ #if HAVE_GETOPT_LONG
+- while ((c = getopt_long (argc, argv, "Vv?", longopts, NULL)) != -1)
++ while ((c = getopt_long (argc, argv, "sVv?", longopts, NULL)) != -1)
+ #else
+ while ((c = getopt (argc, argv, "sVv?")) != -1)
+ #endif