aboutsummaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2004-08-16 01:19:08 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2004-08-16 01:19:08 +0000
commit2379ddf0c5bc3f4913adcb53e7b67e6e9a98ffb5 (patch)
treef348b89702f73797de6389ef256efdf645bdbfdc /devel/cscope
parentb0d78cb04f07a40b8c5083b9d465dbd90d69a104 (diff)
downloadports-2379ddf0c5bc3f4913adcb53e7b67e6e9a98ffb5.tar.gz
ports-2379ddf0c5bc3f4913adcb53e7b67e6e9a98ffb5.zip
Unbreak for GCC 3.4.
Notes
Notes: svn path=/head/; revision=116334
Diffstat (limited to 'devel/cscope')
-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)
+ {