summaryrefslogtreecommitdiff
path: root/x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake')
-rw-r--r--x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake b/x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake
index 611f1cee52a..13690db5359 100644
--- a/x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake
+++ b/x11/kdelibs4/patches/patch-cmake_modules_FindKDE4Internal.cmake
@@ -1,8 +1,8 @@
-$NetBSD: patch-cmake_modules_FindKDE4Internal.cmake,v 1.2 2013/11/13 22:52:23 joerg Exp $
+$NetBSD: patch-cmake_modules_FindKDE4Internal.cmake,v 1.3 2014/02/01 02:20:53 markd Exp $
Don't force -std=iso9899:1990.
---- cmake/modules/FindKDE4Internal.cmake.orig 2013-11-01 15:45:56.000000000 +0000
+--- cmake/modules/FindKDE4Internal.cmake.orig 2014-01-02 19:26:54.000000000 +0000
+++ cmake/modules/FindKDE4Internal.cmake
@@ -1204,7 +1204,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline")
@@ -13,12 +13,12 @@ Don't force -std=iso9899:1990.
# As of Qt 4.6.x we need to override the new exception macros if we want compile with -fno-exceptions
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common")
-@@ -1336,7 +1336,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clan
+@@ -1347,7 +1347,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clan
set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline")
set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
- # As of Qt 4.6.x we need to override the new exception macros if we want compile with -fno-exceptions
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-exceptions -DQT_NO_EXCEPTIONS -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden")
set(KDE4_C_FLAGS "-fvisibility=hidden")
+