summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/js/distinfo3
-rw-r--r--lang/js/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/lang/js/distinfo b/lang/js/distinfo
index 714a057d912..d9d94b38031 100644
--- a/lang/js/distinfo
+++ b/lang/js/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/22 07:40:16 rillig Exp $
+$NetBSD: distinfo,v 1.1.1.1.14.1 2007/05/15 22:30:57 salo Exp $
SHA1 (js-0.2.5.tar.gz) = a1a3a33cc350d7f432edc07fc0334ab0cc729247
RMD160 (js-0.2.5.tar.gz) = a8d681a2c405a0410cdcf0166ab3e040d2ae65cd
Size (js-0.2.5.tar.gz) = 689982 bytes
+SHA1 (patch-aa) = 9d380be44d596ecdf5f686da26129b30aaf89735
diff --git a/lang/js/patches/patch-aa b/lang/js/patches/patch-aa
new file mode 100644
index 00000000000..9533cbae5ff
--- /dev/null
+++ b/lang/js/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.2.2 2007/05/15 22:30:57 salo Exp $
+
+--- src/iostream.c.orig 1998-11-25 10:06:10.000000000 +0200
++++ src/iostream.c
+@@ -233,7 +233,7 @@ js_iostream_read (JSIOStream *stream, vo
+
+ stream->bufpos += got;
+ size -= got;
+- (unsigned char *) ptr += got;
++ ptr = (unsigned char *) ptr + got;
+ total += got;
+ }
+ else
+@@ -290,7 +290,7 @@ js_iostream_write (JSIOStream *stream, v
+ stream->data_in_buf += space;
+ total += space;
+ size -= space;
+- (unsigned char *) ptr += space;
++ ptr = (unsigned char *) ptr + space;
+
+ /* Now the buffer contains buffered write data. */
+ stream->writep = 1;