aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-05-31 03:37:06 +0800
committerarved <arved@FreeBSD.org>2007-05-31 03:37:06 +0800
commit5c886d33ddcfe385c08cc1d67ded883c7d1c58db (patch)
tree36b0bcef08cb52578ec73ff7b9d2c69fda2fbe41
parent7e736a83d284f6049bc75924a32a837a10596a37 (diff)
downloadfreebsd-ports-graphics-5c886d33ddcfe385c08cc1d67ded883c7d1c58db.tar.gz
freebsd-ports-graphics-5c886d33ddcfe385c08cc1d67ded883c7d1c58db.tar.zst
freebsd-ports-graphics-5c886d33ddcfe385c08cc1d67ded883c7d1c58db.zip
Fix build with gcc4
-rw-r--r--net/xarchie/files/patch-regex.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/xarchie/files/patch-regex.c b/net/xarchie/files/patch-regex.c
new file mode 100644
index 00000000000..60a23bd6f51
--- /dev/null
+++ b/net/xarchie/files/patch-regex.c
@@ -0,0 +1,12 @@
+--- regex.c.orig Wed May 30 21:31:24 2007
++++ regex.c Wed May 30 21:33:02 2007
+@@ -438,7 +438,8 @@
+ static char *bol;
+ static char *bopat[MAXTAG];
+ static char *eopat[MAXTAG];
+-char *pmatch();
++static char *pmatch(char *lp, CHAR *ap);
++
+
+ /*
+ * re_exec: