summaryrefslogtreecommitdiffstats
path: root/doc/xpdf/patches/noqt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'doc/xpdf/patches/noqt.patch')
-rw-r--r--doc/xpdf/patches/noqt.patch23
1 files changed, 13 insertions, 10 deletions
diff --git a/doc/xpdf/patches/noqt.patch b/doc/xpdf/patches/noqt.patch
index 879104f314..8e5ef1f26e 100644
--- a/doc/xpdf/patches/noqt.patch
+++ b/doc/xpdf/patches/noqt.patch
@@ -1,6 +1,6 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
+diff -Naur xpdf-4.03-orig/CMakeLists.txt xpdf-4.03/CMakeLists.txt
+--- xpdf-4.03-orig/CMakeLists.txt 2021-01-27 23:23:51.000000000 +0100
++++ xpdf-4.03/CMakeLists.txt 2021-04-16 21:29:07.764217289 +0200
@@ -18,7 +18,6 @@
add_subdirectory(fofi)
add_subdirectory(splash)
@@ -20,20 +20,23 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
if (NOT MULTITHREADED)
message(WARNING "Multithreading is disabled -- will not build xpdf.")
endif ()
-diff --git a/cmake-config.txt b/cmake-config.txt
---- a/cmake-config.txt
-+++ b/cmake-config.txt
-@@ -188,61 +188,6 @@
-
-
+diff -Naur xpdf-4.03-orig/cmake-config.txt xpdf-4.03/cmake-config.txt
+--- xpdf-4.03-orig/cmake-config.txt 2021-01-27 23:23:51.000000000 +0100
++++ xpdf-4.03/cmake-config.txt 2021-04-16 21:29:55.164217289 +0200
+@@ -207,64 +207,6 @@
+ #--- look for libpng
+ find_package(PNG)
+-
+-
+-
-#--- look for Qt
-find_package(Qt5Widgets QUIET)
-if (Qt5Widgets_FOUND)
- find_package(Qt5Network)
- find_package(Qt5PrintSupport)
-else ()
-- find_package(Qt4 COMPONENTS QtCore QtGui QtNetwork REQUIRED)
+- find_package(Qt4 COMPONENTS QtCore QtGui QtNetwork)
-endif ()
-if(Qt5Widgets_FOUND)
- message(STATUS "Qt5 found")