]> git.pld-linux.org Git - packages/jikes.git/commitdiff
patches from Mandrake
authorArtur Frysiak <artur@frysiak.net>
Sat, 25 Nov 2000 06:05:27 +0000 (06:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    jikes-gcc296.patch -> 1.1
    jikes-gccbug.patch -> 1.1

jikes-gcc296.patch [new file with mode: 0644]
jikes-gccbug.patch [new file with mode: 0644]

diff --git a/jikes-gcc296.patch b/jikes-gcc296.patch
new file mode 100644 (file)
index 0000000..b58fd96
--- /dev/null
@@ -0,0 +1,11 @@
+--- jikes-1.12/src/stream.cpp.chmou    Tue Jul 25 13:32:33 2000
++++ jikes-1.12/src/stream.cpp  Fri Nov 17 18:13:00 2000
+@@ -890,7 +890,7 @@
+                     size_t   chl  = 2;
+                     size_t   srcl = 1;
+                     size_t n = iconv(control.option.converter,
+-                                     &source_ptr, &srcl,
++                                     (char **)&source_ptr, &srcl,
+                                      (char **)&chp, &chl
+                     );
diff --git a/jikes-gccbug.patch b/jikes-gccbug.patch
new file mode 100644 (file)
index 0000000..dba7978
--- /dev/null
@@ -0,0 +1,22 @@
+diff -ru jikes-1.12.orig/src/tuple.h jikes-1.12/src/tuple.h
+--- jikes-1.12.orig/src/tuple.h        Tue Jul 25 13:32:34 2000
++++ jikes-1.12/src/tuple.h     Tue Aug  8 17:34:08 2000
+@@ -92,7 +92,16 @@
+         // instead of having to perform a subtraction for each reference.
+         // See operator[] below.
+         //
+-        base[k] = new T[Blksize()];
++
++      // Workaround for a compiler bug (gcc 2.95.3 choke on the original code)
++      // MDC, Mandrakesoft
++
++      int blkSize = Blksize();
++      base[k] = new T[blkSize];
++
++      // Original code
++      // base[k] = new T [Blksize()];
++
+         base[k] -= size;
+         //
+Only in jikes-1.12/src: tuple.h~
This page took 0.08746 seconds and 4 git commands to generate.