summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2005-04-05 15:58:05 +0000
committeris <is@pkgsrc.org>2005-04-05 15:58:05 +0000
commit1469ed02cdba16ef5da480db02ad2e1fb9d52949 (patch)
tree260c0dee7e7aeaabd249eaf8c36a583cc78f40aa /lang
parent6e6e479a9874bf5285d3f425b48a5ffe7dc393d6 (diff)
downloadpkgsrc-1469ed02cdba16ef5da480db02ad2e1fb9d52949.tar.gz
Fix SR optimizer bug: with -O, the char-integer-conversion was unsigned,
while it is signed without.
Diffstat (limited to 'lang')
-rw-r--r--lang/sr/Makefile4
-rw-r--r--lang/sr/distinfo3
-rw-r--r--lang/sr/patches/patch-bj13
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
index 355d51f33e5..a3033ac7ae9 100644
--- a/lang/sr/Makefile
+++ b/lang/sr/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2005/04/05 15:55:54 is Exp $
+# $NetBSD: Makefile,v 1.10 2005/04/05 15:58:05 is Exp $
#
DISTNAME= sr233
PKGNAME= sr-2.3.3
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= lang parallel
MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/
EXTRACT_SUFX= .tar.Z
diff --git a/lang/sr/distinfo b/lang/sr/distinfo
index 088b832c6a0..24b8653dfee 100644
--- a/lang/sr/distinfo
+++ b/lang/sr/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2005/04/05 15:55:54 is Exp $
+$NetBSD: distinfo,v 1.19 2005/04/05 15:58:05 is Exp $
SHA1 (sr233.tar.Z) = 0354987527ed1e84c32d3b1fc6bacb65d647f337
RMD160 (sr233.tar.Z) = 58c90c06abede7a15ca8a68f53b6fdfa575c79df
@@ -24,3 +24,4 @@ SHA1 (patch-bf) = 5b927830f65f5b981cb735ae980e849e2c6d3727
SHA1 (patch-bg) = 3d3357f00129d8b6141506e700c4ae4da556a39a
SHA1 (patch-bh) = c880064e871297a411e2292f78d82222bb46dac4
SHA1 (patch-bi) = ad6706295ff164fe6df257d325a06f9b157175d1
+SHA1 (patch-bj) = cd46d268fc173fe02efa8338ebf3f664ff2e5b94
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, ',');