diff options
author | wiz <wiz@pkgsrc.org> | 2004-07-10 23:29:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-07-10 23:29:51 +0000 |
commit | 1564aab6e980bba950d88cc0d128b2856ce1a0f3 (patch) | |
tree | 815280d1637af3f58ac1179a34fcbbfec24e8e3a /games/minami/patches | |
parent | 31f9f99abeed8abfdd7be009e039fca35e91b04b (diff) | |
download | pkgsrc-1564aab6e980bba950d88cc0d128b2856ce1a0f3.tar.gz |
Fix multi-line strings in generated sources. Makes this package build with gcc3.
Diffstat (limited to 'games/minami/patches')
-rw-r--r-- | games/minami/patches/patch-ab | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/games/minami/patches/patch-ab b/games/minami/patches/patch-ab index 0797bb598ff..00988f6ae3f 100644 --- a/games/minami/patches/patch-ab +++ b/games/minami/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2001/11/28 14:25:50 jlam Exp $ +$NetBSD: patch-ab,v 1.3 2004/07/10 23:29:51 wiz Exp $ ---- gen_act.orig Wed Nov 28 09:12:21 2001 +--- gen_act.orig 2001-03-08 18:02:47.000000000 +0100 +++ gen_act -@@ -209,7 +209,7 @@ +@@ -209,7 +209,7 @@ my @k = keys %action; map{$_ = "$_.o";}@k; print MAKEFILE <<_T_; @@ -11,3 +11,11 @@ $NetBSD: patch-ab,v 1.2 2001/11/28 14:25:50 jlam Exp $ libaction.a: @k -rm -f libaction.a +@@ -469,6 +469,7 @@ _T_ + $def_hook = "MIN_CONT"; + } + ++ $msg =~ s/\n/\\\n/g; + $action{$action_idx} .= <<_T_; + else if(cur_scene==$scene && $verbcmp && $objcmp && $scene_cond && $cond)\{ + if($hook==MIN_CONT && $def_hook==MIN_CONT){ |