summaryrefslogtreecommitdiff
path: root/wm/amiwm/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'wm/amiwm/patches/patch-ab')
-rw-r--r--wm/amiwm/patches/patch-ab9
1 files changed, 6 insertions, 3 deletions
diff --git a/wm/amiwm/patches/patch-ab b/wm/amiwm/patches/patch-ab
index 6f0cefa1260..5d2bf3eec12 100644
--- a/wm/amiwm/patches/patch-ab
+++ b/wm/amiwm/patches/patch-ab
@@ -1,12 +1,15 @@
-$NetBSD: patch-ab,v 1.1 2010/04/29 00:02:07 dholland Exp $
+$NetBSD: patch-ab,v 1.2 2017/01/05 09:40:00 jperkin Exp $
---- lex.l~ 1997-12-12 17:21:58.000000000 +0000
+Ensure the local yywrap is used.
+
+--- lex.l.orig 1997-12-12 17:21:58.000000000 +0000
+++ lex.l
-@@ -6,7 +6,7 @@ extern int ParseError;
+@@ -6,7 +6,8 @@ extern int ParseError;
extern FILE *rcfile;
#undef yyin
#define yyin rcfile
-#define yywrap() 1
++#undef yywrap
+static int yywrap(void) { return 1; }
extern int parse_keyword(char *);
void fixup_string(char *, char *);