diff options
Diffstat (limited to 'sci-electronics/fritzing/files/fritzing-0.9.4-quazip1.patch')
-rw-r--r-- | sci-electronics/fritzing/files/fritzing-0.9.4-quazip1.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-electronics/fritzing/files/fritzing-0.9.4-quazip1.patch b/sci-electronics/fritzing/files/fritzing-0.9.4-quazip1.patch new file mode 100644 index 000000000000..d218c10d90a0 --- /dev/null +++ b/sci-electronics/fritzing/files/fritzing-0.9.4-quazip1.patch @@ -0,0 +1,28 @@ +Fix build with QuaZip-1.0. + +--- a/phoenix.pro ++++ b/phoenix.pro +@@ -194,8 +194,8 @@ + include(pri/qtsysteminfo.pri) + + contains(DEFINES, QUAZIP_INSTALLED) { +- INCLUDEPATH += /usr/include/quazip +- LIBS += -lquazip ++ CONFIG += link_pkgconfig ++ PKGCONFIG += quazip1-qt5 + } else { + include(pri/quazip.pri) + } +--- a/src/utils/folderutils.cpp ++++ b/src/utils/folderutils.cpp +@@ -35,8 +35,8 @@ + + #include "../debugdialog.h" + #ifdef QUAZIP_INSTALLED +-#include <quazip/quazip.h> +-#include <quazip/quazipfile.h> ++#include <quazip.h> ++#include <quazipfile.h> + #else + #include "../lib/quazip/quazip.h" + #include "../lib/quazip/quazipfile.h" |