summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2005-03-02 21:07:06 +0000
committeris <is@pkgsrc.org>2005-03-02 21:07:06 +0000
commit047192852e78b1b2a30858e57f141ddd644157e8 (patch)
tree8905dc874bea7e1465a9e8cf115e1dabff1af718
parentea08652bc4573fcb212fee84705acc1585442dbd (diff)
downloadpkgsrc-047192852e78b1b2a30858e57f141ddd644157e8.tar.gz
Not all the world is a VAX.
-rw-r--r--lang/sr/distinfo3
-rw-r--r--lang/sr/patches/patch-bc13
2 files changed, 15 insertions, 1 deletions
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