Skip to content

Commit 8646290

Browse files
committed
fix pyjnius qt6 patch
1 parent da98f23 commit 8646290

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pythonforandroid/recipes/pyjnius/qt6_jnienv_getter.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
diff -ru pyjnius-1.4.2.orig/jnius/env.py pyjnius-1.4.2/jnius/env.py
2-
--- pyjnius-1.4.2.orig/jnius/env.py 2023-06-29 16:42:49.991975802 +0200
3-
+++ pyjnius-1.4.2/jnius/env.py 2023-06-29 16:48:35.733217880 +0200
4-
@@ -269,7 +269,7 @@
1+
diff -Naur pyjnius.orig/jnius/env.py pyjnius/jnius/env.py
2+
--- pyjnius.orig/jnius/env.py 2022-05-28 11:16:02.000000000 +0200
3+
+++ pyjnius/jnius/env.py 2022-05-28 11:18:30.000000000 +0200
4+
@@ -268,7 +268,7 @@
55

66
class AndroidJavaLocation(UnixJavaLocation):
77
def get_libraries(self):
@@ -10,9 +10,9 @@ diff -ru pyjnius-1.4.2.orig/jnius/env.py pyjnius-1.4.2/jnius/env.py
1010

1111
def get_include_dirs(self):
1212
# When cross-compiling for Android, we should not use the include dirs
13-
diff -ru pyjnius-1.4.2.orig/jnius/jnius_jvm_android.pxi pyjnius-1.4.2/jnius/jnius_jvm_android.pxi
14-
--- pyjnius-1.4.2.orig/jnius/jnius_jvm_android.pxi 2023-06-29 16:42:49.991975802 +0200
15-
+++ pyjnius-1.4.2/jnius/jnius_jvm_android.pxi 2023-06-29 16:46:57.359724604 +0200
13+
diff -Naur pyjnius.orig/jnius/jnius_jvm_android.pxi pyjnius/jnius/jnius_jvm_android.pxi
14+
--- pyjnius.orig/jnius/jnius_jvm_android.pxi 2022-05-28 11:16:02.000000000 +0200
15+
+++ pyjnius/jnius/jnius_jvm_android.pxi 2022-05-28 11:17:17.000000000 +0200
1616
@@ -1,6 +1,6 @@
1717
# on android, rely on SDL to get the JNI env
1818
-cdef extern JNIEnv *SDL_AndroidGetJNIEnv()

0 commit comments

Comments
 (0)