aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-08-16 09:19:08 +0800
committerkan <kan@FreeBSD.org>2004-08-16 09:19:08 +0800
commit476515699ab195ecfd054c0f42cf0c73314ad012 (patch)
treec5ad611777a1961860c33370109f6132f4e99733
parentfce225c98bf8b384bed821357dc047c59016c8c2 (diff)
downloadfreebsd-ports-gnome-476515699ab195ecfd054c0f42cf0c73314ad012.tar.gz
freebsd-ports-gnome-476515699ab195ecfd054c0f42cf0c73314ad012.tar.zst
freebsd-ports-gnome-476515699ab195ecfd054c0f42cf0c73314ad012.zip
Unbreak for GCC 3.4.
-rw-r--r--devel/cscope/files/patch-ab28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/cscope/files/patch-ab b/devel/cscope/files/patch-ab
new file mode 100644
index 000000000000..b0c3187bc12e
--- /dev/null
+++ b/devel/cscope/files/patch-ab
@@ -0,0 +1,28 @@
+--- src/egrep.y.old Sun Aug 15 21:07:51 2004
++++ src/egrep.y Sun Aug 15 21:09:26 2004
+@@ -603,25 +603,6 @@
+ return(0);
+ }
+
+-/* FIXME HBB: should export this to a separate file and use
+- * AC_REPLACE_FUNCS() */
+-#if BSD
+-/*LINTLIBRARY*/
+-/*
+- * Set an array of n chars starting at sp to the character c.
+- * Return sp.
+- */
+-char *
+-memset(char *sp, char c, int n)
+-{
+- char *sp0 = sp;
+-
+- while (--n >= 0)
+- *sp++ = c;
+- return (sp0);
+-}
+-#endif
+-
+ void
+ egrepcaseless(int i)
+ {