summaryrefslogtreecommitdiff
path: root/www/wml/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-29 16:34:42 +0000
committerrillig <rillig@pkgsrc.org>2007-09-29 16:34:42 +0000
commit79a0451d6697bc1ebf4a8cb47d9ffc370dc508e1 (patch)
tree01e7f3922f85d187a2687ee03f9c8d3f3e5a0cf3 /www/wml/patches
parent558b487729900769d7f945db0a0f73542c5ad74f (diff)
downloadpkgsrc-79a0451d6697bc1ebf4a8cb47d9ffc370dc508e1.tar.gz
Fixed gcc4 error message:
eperl_proto.h:56: error: array type has incomplete element type
Diffstat (limited to 'www/wml/patches')
-rw-r--r--www/wml/patches/patch-af14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/wml/patches/patch-af b/www/wml/patches/patch-af
new file mode 100644
index 00000000000..7638020f18a
--- /dev/null
+++ b/www/wml/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2007/09/29 16:34:42 rillig Exp $
+
+Variables that are only used in one file don't need to be extern.
+
+--- wml_backend/p3_eperl/eperl_proto.h.orig 2002-10-18 23:48:38.000000000 +0200
++++ wml_backend/p3_eperl/eperl_proto.h 2007-09-29 18:31:45.000000000 +0200
+@@ -53,7 +53,6 @@ extern void RememberINC(char *str);
+ extern void mysighandler(int rc);
+ extern void myinit(void);
+ extern void myexit(int rc);
+-extern struct option options[];
+ extern int main(int argc, char **argv, char **env);
+
+ /* eperl_parse.c */