summaryrefslogtreecommitdiff
path: root/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'app-office/texstudio/files/texstudio-3.0.5-quazip1.patch')
-rw-r--r--app-office/texstudio/files/texstudio-3.0.5-quazip1.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch b/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
new file mode 100644
index 000000000000..a2a9033abd66
--- /dev/null
+++ b/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
@@ -0,0 +1,19 @@
+Fix build with QuaZip-1.0.
+
+--- a/texstudio.pro
++++ b/texstudio.pro
+@@ -369,11 +369,9 @@
+ isEmpty(USE_SYSTEM_QUAZIP) {
+ include(src/quazip/quazip/quazip.pri)
+ } else {
+- 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
+ }
+
+ include(src/pdfviewer/pdfviewer.pri)