diff options
Diffstat (limited to 'lang/sr/patches/patch-bj')
-rw-r--r-- | lang/sr/patches/patch-bj | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/sr/patches/patch-bj b/lang/sr/patches/patch-bj new file mode 100644 index 00000000000..0546ca660ed --- /dev/null +++ b/lang/sr/patches/patch-bj @@ -0,0 +1,13 @@ +$NetBSD: patch-bj,v 1.1 2005/04/05 15:58:05 is Exp $ + +--- sr/gexpr.c.orig 1999-10-26 03:06:20.000000000 +0200 ++++ sr/gexpr.c +@@ -942,7 +942,7 @@ Nodeptr e; + r = RNODE (e); + if (l->e_sig->g_type == T_STRING) { + if (option_O) +- cprintf ("(DATA(%e)+%e-1)", l, r); ++ cprintf ("((Char*)DATA(%e)+%e-1)", l, r); + else { + cprintf ("("); + once (l, ','); |