diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2015-03-08 15:14:03 +0000 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2015-03-08 15:14:03 +0000 |
commit | 9a0fd32cf6e2ada37675bc743532c5004b16e5e3 (patch) | |
tree | d66faa3279486d2e8ad72bf70e7ef522460372a0 /data/patches/gnuzilla-bug-1032460.patch | |
parent | 2732de330618bc29b7ab07f4004d8e84f698cf95 (diff) |
Added patches to fix build bugs for Windows, MacOS and Android
Diffstat (limited to 'data/patches/gnuzilla-bug-1032460.patch')
-rw-r--r-- | data/patches/gnuzilla-bug-1032460.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/patches/gnuzilla-bug-1032460.patch b/data/patches/gnuzilla-bug-1032460.patch new file mode 100644 index 0000000..08f37c3 --- /dev/null +++ b/data/patches/gnuzilla-bug-1032460.patch @@ -0,0 +1,16 @@ +https://bugzilla.mozilla.org/show_bug.cgi?id=1032460 + +diff -ru icecat-31.4.0.orig/widget/android/AndroidBridge.cpp icecat-31.4.0/widget/android/AndroidBridge.cpp +--- icecat-31.4.0.orig/widget/android/AndroidBridge.cpp 2015-02-22 19:11:11.834816575 +0100 ++++ icecat-31.4.0/widget/android/AndroidBridge.cpp 2015-02-22 19:16:16.226810788 +0100 +@@ -199,7 +199,9 @@ + + jclass eglClass = getClassGlobalRef("com/google/android/gles_jni/EGLSurfaceImpl"); + if (eglClass) { +- jEGLSurfacePointerField = getField("mEGLSurface", "I"); ++ // The pointer type moved to a 'long' in Android L, API version 20 ++ const char* jniType = mAPIVersion >= 20 ? "J" : "I"; ++ jEGLSurfacePointerField = getField("mEGLSurface", jniType); + } else { + jEGLSurfacePointerField = 0; + } |