From 1c20be2599e91f6636e2f41d69ac50e8cc0d08ce Mon Sep 17 00:00:00 2001 From: is Date: Wed, 2 Mar 2005 21:07:06 +0000 Subject: Not all the world is a VAX. --- lang/sr/distinfo | 3 ++- lang/sr/patches/patch-bc | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 lang/sr/patches/patch-bc (limited to 'lang') diff --git a/lang/sr/distinfo b/lang/sr/distinfo index 30bef64d075..4b49964df00 100644 --- a/lang/sr/distinfo +++ b/lang/sr/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2005/03/02 14:23:35 is Exp $ +$NetBSD: distinfo,v 1.13 2005/03/02 21:07:06 is Exp $ SHA1 (sr233.tar.Z) = 0354987527ed1e84c32d3b1fc6bacb65d647f337 Size (sr233.tar.Z) = 1424566 bytes @@ -16,3 +16,4 @@ SHA1 (patch-ay) = ea10d5daf877ca129efdfdbc544159a75f70f395 SHA1 (patch-az) = 1560c8ea0b760e2fb97385e565d87a49a879c6a2 SHA1 (patch-ba) = a29a664d693585ff39bc1f8d2c4b165981cde72a SHA1 (patch-bb) = 6214584bde5a05386d0f31690b30a9c0a8c299af +SHA1 (patch-bc) = be4f8c47486c5b6933494f4e92fd8c340425a167 diff --git a/lang/sr/patches/patch-bc b/lang/sr/patches/patch-bc new file mode 100644 index 00000000000..658fa7e1609 --- /dev/null +++ b/lang/sr/patches/patch-bc @@ -0,0 +1,13 @@ +$NetBSD: patch-bc,v 1.1 2005/03/02 21:07:06 is Exp $ + +--- rts/scan.c.orig 2003-11-21 21:00:01.000000000 +0100 ++++ rts/scan.c +@@ -7,7 +7,7 @@ + static int scanToken (), scanInteger (), scanReal (), scanPointer (); + static int scanTokenFromSet (); + +-#define BACKCH(c,f,S,s) (S ? ((s>DATA (S)) ? (s)-- : 0) : (char*)ungetc (c, f)) ++#define BACKCH(c,f,S,s) (S ? ((s>DATA (S)) ? (s)--,0 : 0) : ungetc (c, f)) + #define NEXTCH(l,f,S,s) (S ? ((*s=='\0') ? EOF : * (Char*)(s)++) : INCH (l, f)) + + #define SCAN_LEN 50 -- cgit v1.2.3