summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authordholland <dholland>2010-04-29 00:02:07 +0000
committerdholland <dholland>2010-04-29 00:02:07 +0000
commitab49ee0f747cdd27090ed106a2d0ea6de7857689 (patch)
tree370945aff92cc5bea7b7093a5c8af0b6843a2d76 /wm
parent2e103070b6a84fc6360f08d409409880edd14eca (diff)
downloadpkgsrc-ab49ee0f747cdd27090ed106a2d0ea6de7857689.tar.gz
yywrap() is not allowed to be a macro nowadays.
Fixes broken build on current. XXX: I'd be very surprised if this thing runs on 64-bit platforms.
Diffstat (limited to 'wm')
-rw-r--r--wm/amiwm/distinfo3
-rw-r--r--wm/amiwm/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/wm/amiwm/distinfo b/wm/amiwm/distinfo
index 465a329d723..11203fd291d 100644
--- a/wm/amiwm/distinfo
+++ b/wm/amiwm/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2008/04/25 02:16:11 reed Exp $
+$NetBSD: distinfo,v 1.5 2010/04/29 00:02:07 dholland Exp $
SHA1 (amiwm0.20pl48.tar.gz) = 6cf5f7197403a9519ea1f3b272e67a8de4fdca43
RMD160 (amiwm0.20pl48.tar.gz) = abb5922a84501a28a73684c9e056dba6ac6969b7
Size (amiwm0.20pl48.tar.gz) = 141542 bytes
SHA1 (patch-aa) = 4927276af44a0c2257eb723959002eef90db6aaf
+SHA1 (patch-ab) = 047bd7f8c495a3d872c98515368f87131eea7162
diff --git a/wm/amiwm/patches/patch-ab b/wm/amiwm/patches/patch-ab
new file mode 100644
index 00000000000..6f0cefa1260
--- /dev/null
+++ b/wm/amiwm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2010/04/29 00:02:07 dholland Exp $
+
+--- lex.l~ 1997-12-12 17:21:58.000000000 +0000
++++ lex.l
+@@ -6,7 +6,7 @@ extern int ParseError;
+ extern FILE *rcfile;
+ #undef yyin
+ #define yyin rcfile
+-#define yywrap() 1
++static int yywrap(void) { return 1; }
+ extern int parse_keyword(char *);
+ void fixup_string(char *, char *);
+ %}