summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/swt/files/swt-3.3-callback-pointer-dereferencing.patch')
-rw-r--r--dev-java/swt/files/swt-3.3-callback-pointer-dereferencing.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-java/swt/files/swt-3.3-callback-pointer-dereferencing.patch b/dev-java/swt/files/swt-3.3-callback-pointer-dereferencing.patch
deleted file mode 100644
index 92fbab779d1..00000000000
--- a/dev-java/swt/files/swt-3.3-callback-pointer-dereferencing.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-# patch from gcj-overlay, not sure if by geki himself
-# removes QA warning about strict-aliasing
---- callback.c.orig 2006-12-12 17:25:26.000000000 +0100
-+++ callback.c 2006-12-12 18:11:34.000000000 +0100
-@@ -250,12 +250,16 @@
-
- #ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
-- (*jvm)->GetEnv(jvm, (void **)&env, JNI_VERSION_1_2);
-+ /* http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/invocation.html */
-+ /* jint GetEnv(JavaVM *vm, void **env, jint version); */
-+ (*jvm)->GetEnv(jvm, (void *)&env, JNI_VERSION_1_2);
- }
- #endif
-
- if (env == NULL) {
-- (*jvm)->AttachCurrentThread(jvm, (void **)&env, NULL);
-+ /* http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/invocation.html */
-+ /* jint AttachCurrentThread(JavaVM *vm, JNIEnv **p_env, void *thr_args); */
-+ (*jvm)->AttachCurrentThread(jvm, (void *)&env, NULL);
- if (IS_JNI_1_2) detach = 1;
- }
-