summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/texstudio/files/texstudio-4.7.0-quazip.patch')
-rw-r--r--app-office/texstudio/files/texstudio-4.7.0-quazip.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-office/texstudio/files/texstudio-4.7.0-quazip.patch b/app-office/texstudio/files/texstudio-4.7.0-quazip.patch
new file mode 100644
index 000000000000..f8b65d665fbc
--- /dev/null
+++ b/app-office/texstudio/files/texstudio-4.7.0-quazip.patch
@@ -0,0 +1,18 @@
+diff -U3 -r texstudio-4.7.0.orig/texstudio.pro texstudio-4.7.0/texstudio.pro
+--- texstudio-4.7.0.orig/texstudio.pro 2023-11-28 03:20:38.000000000 +0700
++++ texstudio-4.7.0/texstudio.pro 2023-12-03 20:59:39.074498926 +0700
+@@ -371,11 +371,9 @@
+ PKGCONFIG += quazip1-qt6
+ }
+ !versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
+- message(System quazip5)
+- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
+- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
+- INCLUDEPATH += $${QUAZIP_INCLUDE}
+- LIBS += $${QUAZIP_LIB}
++ message(System QuaZip)
++ CONFIG += link_pkgconfig
++ PKGCONFIG += quazip1-qt5
+ }
+ }
+