anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / misc / diffpdf / fix_path_poppler_qt5.patch
blob9535ea2c6b0d9adf4ce223b147a799e7a05e2ec4
1 diff -uNr diffpdf-2.1.3/diffpdf.pro diffpdf-2.1.3-new/diffpdf.pro
2 --- diffpdf-2.1.3/diffpdf.pro 2013-10-15 09:01:22.000000000 +0200
3 +++ diffpdf-2.1.3-new/diffpdf.pro 2015-07-07 23:13:36.445572148 +0200
4 @@ -47,9 +47,9 @@
5 INCLUDEPATH += /c/poppler_lib/include/poppler/qt5
6 LIBS += -Wl,-rpath -Wl,/c/poppler_lib/bin -Wl,-L/c/poppler_lib/bin
7 } else {
8 - exists(/usr/include/poppler/qt5) {
9 - INCLUDEPATH += /usr/include/poppler/cpp
10 - INCLUDEPATH += /usr/include/poppler/qt5
11 + exists(@@NIX_POPPLER_QT5@@/include/poppler/qt5) {
12 + INCLUDEPATH += @@NIX_POPPLER_QT5@@/include/poppler/cpp
13 + INCLUDEPATH += @@NIX_POPPLER_QT5@@/include/poppler/qt5
14 } else {
15 INCLUDEPATH += /usr/local/include/poppler/cpp
16 INCLUDEPATH += /usr/local/include/poppler/qt5