summaryrefslogtreecommitdiff
path: root/gis/opencpn/opencpn-4.4.0-multilib-strict.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gis/opencpn/opencpn-4.4.0-multilib-strict.patch')
-rw-r--r--gis/opencpn/opencpn-4.4.0-multilib-strict.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gis/opencpn/opencpn-4.4.0-multilib-strict.patch b/gis/opencpn/opencpn-4.4.0-multilib-strict.patch
new file mode 100644
index 0000000000..f832e01a7e
--- /dev/null
+++ b/gis/opencpn/opencpn-4.4.0-multilib-strict.patch
@@ -0,0 +1,13 @@
+diff -up OpenCPN-4.4.0/CMakeLists.txt.orig OpenCPN-4.4.0/CMakeLists.txt
+--- OpenCPN-4.4.0/CMakeLists.txt.orig 2016-10-22 03:24:56.824710722 -0500
++++ OpenCPN-4.4.0/CMakeLists.txt 2016-10-22 03:28:10.592724737 -0500
+@@ -101,6 +101,9 @@ IF (NOT WIN32)
+ IF (EXISTS /etc/gentoo-release)
+ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
+ ENDIF (EXISTS /etc/gentoo-release)
++ IF (EXISTS /etc/slackware-version)
++ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
++ ENDIF (EXISTS /etc/slackware-version)
+ IF(APPLE)
+ IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
+ # IF (CMAKE_OSX_64)