summaryrefslogtreecommitdiff
path: root/wm/golem
diff options
context:
space:
mode:
authordholland <dholland>2010-04-24 19:36:14 +0000
committerdholland <dholland>2010-04-24 19:36:14 +0000
commit63c8d1b8dc511d3d13ca81b8838675491552147c (patch)
treed734c31caae959b5b2b8ae5bc10120464f8b010d /wm/golem
parentcd6fd4674f6e268b20d983e9dd153776020a44cf (diff)
downloadpkgsrc-63c8d1b8dc511d3d13ca81b8838675491552147c.tar.gz
Hack around build problem with -current's lex.
Diffstat (limited to 'wm/golem')
-rw-r--r--wm/golem/distinfo3
-rw-r--r--wm/golem/patches/patch-aj19
2 files changed, 21 insertions, 1 deletions
diff --git a/wm/golem/distinfo b/wm/golem/distinfo
index ed294d7f45d..77cee4bebe7 100644
--- a/wm/golem/distinfo
+++ b/wm/golem/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2010/04/24 19:28:31 dholland Exp $
+$NetBSD: distinfo,v 1.7 2010/04/24 19:36:14 dholland Exp $
SHA1 (golem-0.0.5.tar.gz) = 5939acf109502a2f962e20fa933b31970fb2ed74
RMD160 (golem-0.0.5.tar.gz) = 845d67cc96fbf34aca99c50bdccf4c1afdafb7f1
@@ -12,3 +12,4 @@ SHA1 (patch-af) = 3d74dacec56e4c953169300dd492ecdbb67d3302
SHA1 (patch-ag) = 29b9e2068191a84d30224eb1103e68601a3da220
SHA1 (patch-ah) = a60ccac1bb4d818c7ac11c5acadd131e25f6803d
SHA1 (patch-ai) = 580b4cbccb7039b476a3469a63d1d888d86e0993
+SHA1 (patch-aj) = 7e9df0996e972b174dfe833705219e937f11ab28
diff --git a/wm/golem/patches/patch-aj b/wm/golem/patches/patch-aj
new file mode 100644
index 00000000000..6a168bed36e
--- /dev/null
+++ b/wm/golem/patches/patch-aj
@@ -0,0 +1,19 @@
+$NetBSD: patch-aj,v 1.1 2010/04/24 19:36:14 dholland Exp $
+
+Hack around a problem that appears with the newer flex in NetBSD-current.
+(This is a hack, not a fix.)
+
+--- src/rclex.l~ 2002-01-18 01:11:10.000000000 +0000
++++ src/rclex.l
+@@ -134,7 +134,11 @@ static int rclex_includef(FILE *file, ch
+ inside_forplug = forplug;
+ yyin = file;
+ yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE));
++#ifndef INITIAL /* hack; flex docs say INITIAL === 0 */
++ BEGIN(0);
++#else
+ BEGIN(INITIAL);
++#endif
+
+ return 0;
+ }