summaryrefslogtreecommitdiff
path: root/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-12 09:34:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-12 10:11:53 +0100
commita346f86521d1c3b901b8e016f7e829e082536db5 (patch)
tree2a755f96ce23d7cb3a19cda78638dcc07a5e1cb4 /dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch
parent7a9334741467f0c0db6e79f35573abe7a6909ade (diff)
downloadkde-a346f86521d1c3b901b8e016f7e829e082536db5.tar.gz
kde-a346f86521d1c3b901b8e016f7e829e082536db5.tar.bz2
kde-a346f86521d1c3b901b8e016f7e829e082536db5.zip
dev-libs/grantlee: Revert "Use ecm.eclass", "Moved to kde.org"
This reverts commit 09e7eb596ec6441fc7a523809e3dad3f09b5be50. This reverts commit ab4c576a77fad0ac660a114d24d226509a8440a9. Dropped out of kde.org again, next try with KF6. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch')
-rw-r--r--dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch b/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch
new file mode 100644
index 00000000000..b35dc46586e
--- /dev/null
+++ b/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch
@@ -0,0 +1,17 @@
+Do not make linker warnings fatal.
+
+Gentoo-bug: 430968
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -62,8 +62,8 @@
+ endif()
+
+ if (NOT APPLE)
+- set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
+- set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}")
++ set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
++ set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}")
+ endif ()
+
+ if (NOT MINGW)