pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/js Fixed gcc4 error messages. Patch provided by A...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7acb2a6568a
branches:  trunk
changeset: 528382:b7acb2a6568a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 01 11:07:45 2007 +0000

description:
Fixed gcc4 error messages. Patch provided by Aleksey Cheusov in private
mail.

diffstat:

 lang/js/distinfo         |   3 ++-
 lang/js/patches/patch-aa |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 05bc2de00fc9 -r b7acb2a6568a lang/js/distinfo
--- a/lang/js/distinfo  Mon Apr 30 23:01:35 2007 +0000
+++ b/lang/js/distinfo  Tue May 01 11:07:45 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/22 07:40:16 rillig Exp $
+$NetBSD: distinfo,v 1.2 2007/05/01 11:07:45 rillig 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 -r 05bc2de00fc9 -r b7acb2a6568a lang/js/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/js/patches/patch-aa  Tue May 01 11:07:45 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2007/05/01 11:07:45 rillig 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;



Home | Main Index | Thread Index | Old Index