summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/qmapshack/files/qmapshack-1.15.2-no-hacks-kthxbye.patch')
-rw-r--r--sci-geosciences/qmapshack/files/qmapshack-1.15.2-no-hacks-kthxbye.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-geosciences/qmapshack/files/qmapshack-1.15.2-no-hacks-kthxbye.patch b/sci-geosciences/qmapshack/files/qmapshack-1.15.2-no-hacks-kthxbye.patch
new file mode 100644
index 000000000000..99a55d694fb5
--- /dev/null
+++ b/sci-geosciences/qmapshack/files/qmapshack-1.15.2-no-hacks-kthxbye.patch
@@ -0,0 +1,28 @@
+--- a/CMakeLists.txt 2020-12-07 17:13:38.000000000 +0100
++++ b/CMakeLists.txt 2021-02-20 20:01:41.706789439 +0100
+@@ -18,25 +18,6 @@
+ endif()
+
+ ###############################################################################################
+-# Do distribution dependent stuff
+-###############################################################################################
+-string(TIMESTAMP YEAR "%Y")
+-set(EXPIRE_YEAR "2021")
+-set(DEBIAN_RELEASE_INFO "/etc/debian_version")
+-
+-if(((EXISTS ${DEBIAN_RELEASE_INFO}) AND (${YEAR} LESS ${EXPIRE_YEAR})) OR APPLE)
+- message( STATUS "Apply patches to fix build system on Debian")
+- execute_process(COMMAND bash "-c" "patch --quiet -p1 < FindPROJ4.patch"
+- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+- OUTPUT_QUIET)
+- execute_process(COMMAND bash "-c" "patch --quiet -p1 < FindQuaZip5.patch"
+- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+- OUTPUT_QUIET)
+-endif(((EXISTS ${DEBIAN_RELEASE_INFO}) AND (${YEAR} LESS ${EXPIRE_YEAR})) OR APPLE)
+-
+-
+-
+-###############################################################################################
+ # Define project name and version tags
+ ###############################################################################################
+ # this is not only the QMS version it will be the package version, too.