summaryrefslogtreecommitdiff
path: root/lang/sr
diff options
context:
space:
mode:
authoris <is>2005-04-05 15:58:05 +0000
committeris <is>2005-04-05 15:58:05 +0000
commit8899e064ba14c28c50652f1a0f2d41c8bda92a91 (patch)
tree260c0dee7e7aeaabd249eaf8c36a583cc78f40aa /lang/sr
parentd4a5c58a3836b2be3a46b0b68cff149f332b78a5 (diff)
downloadpkgsrc-8899e064ba14c28c50652f1a0f2d41c8bda92a91.tar.gz
Fix SR optimizer bug: with -O, the char-integer-conversion was unsigned,
while it is signed without.
Diffstat (limited to 'lang/sr')
-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, ',');