diff options
author | markd <markd@pkgsrc.org> | 2014-11-13 19:19:06 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2014-11-13 19:19:06 +0000 |
commit | e486e6cd2651bd49568c85720099f7535bcf5083 (patch) | |
tree | 83f7122d5a014569a87b5529ab7dece89be51cc0 /misc/kig/patches | |
parent | 94189b4ae5021626678059d23f799ec2e4743b15 (diff) | |
download | pkgsrc-e486e6cd2651bd49568c85720099f7535bcf5083.tar.gz |
Update to KDE SC 4.14.3
Diffstat (limited to 'misc/kig/patches')
-rw-r--r-- | misc/kig/patches/patch-CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/kig/patches/patch-CMakeLists.txt b/misc/kig/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..cdb28df3c86 --- /dev/null +++ b/misc/kig/patches/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2014/11/13 19:19:08 markd Exp $ + +gcc<=4.5 doesn't like -std=c++11 + +--- CMakeLists.txt.orig 2014-10-25 02:44:23.000000000 +0000 ++++ CMakeLists.txt +@@ -25,7 +25,7 @@ include(MacroBoolTo01) + add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) + include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) + +-if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Intel") ++if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Intel") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + endif() + |