diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-06-07 15:19:20 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-06-07 15:19:20 +0000 |
commit | 7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd (patch) | |
tree | 46f0a6b15a4f4b0da66b20062538121ab60095e4 /patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch | |
parent | 52e2925ffbc9741180aa1e19017166a34272c3ff (diff) | |
download | midipix_build-7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd.tar.bz2 midipix_build-7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd.tar.xz |
patches/classpath/classpath-0.99.*.patch: via Redfoxmoon.
Diffstat (limited to 'patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch')
-rw-r--r-- | patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch b/patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch new file mode 100644 index 00000000..896dd7e9 --- /dev/null +++ b/patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch @@ -0,0 +1,11 @@ +--- classpath-0.99.orig/native/jni/java-math/gnu_java_math_GMP.c 2008-06-22 04:05:39.000000000 +0200 ++++ classpath-0.99/native/jni/java-math/gnu_java_math_GMP.c 2018-06-07 16:26:12.407213673 +0200 +@@ -1131,7 +1131,7 @@ + res = 0; + break; + case 1: +- res = mpz_popcount (_this); ++ res = mpz_popcount (_this); /* Falls through. */ + default: + JCL_ThrowException (env, "java/lang/Error", + "Unexpected sign value for a native MPI"); |