diff options
| author | Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org> | 2013-03-09 12:31:17 +0100 |
|---|---|---|
| committer | Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org> | 2013-03-09 12:31:17 +0100 |
| commit | 169db0409eb5a4836efc88419fa07775cb01cc92 (patch) | |
| tree | 89b29298c14c69e0829d4c08df7277685c5b3d3e /dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch | |
| parent | 1a9408d353e4752fba6340ff3909c93523595e97 (diff) | |
| download | kde-169db0409eb5a4836efc88419fa07775cb01cc92.tar.gz kde-169db0409eb5a4836efc88419fa07775cb01cc92.tar.bz2 kde-169db0409eb5a4836efc88419fa07775cb01cc92.zip | |
[dev-libs/grantlee] Do not make linker warnings fatal, fixes bug 430968
Package-Manager: portage-2.2.0_alpha166
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.patch | 14 |
1 files changed, 14 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..a25f52b3c63 --- /dev/null +++ b/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch @@ -0,0 +1,14 @@ +diff -ruN grantlee-0.3.0.orig/CMakeLists.txt grantlee-0.3.0/CMakeLists.txt +--- grantlee-0.3.0.orig/CMakeLists.txt 2012-11-01 21:14:18.000000000 +0100 ++++ grantlee-0.3.0/CMakeLists.txt 2013-03-09 12:25:56.498096399 +0100 +@@ -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) |
