diff options
author | joerg <joerg> | 2013-10-26 22:04:57 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-10-26 22:04:57 +0000 |
commit | 383c54c752c2e77fea43ce6fd22748b4e7a38518 (patch) | |
tree | 6bec784cfb005b16c15c1e6b0a368c706cb5715e /mail | |
parent | 0bb8459a09a4e17522888f4c61843b15b8d6df00 (diff) | |
download | pkgsrc-383c54c752c2e77fea43ce6fd22748b4e7a38518.tar.gz |
Don't use -fno-check-new, it is the default behavior of GCC anyway.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/akonadi/distinfo | 3 | ||||
-rw-r--r-- | mail/akonadi/patches/patch-CMakeLists.txt | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/mail/akonadi/distinfo b/mail/akonadi/distinfo index 13957ffd80c..43731ab6e94 100644 --- a/mail/akonadi/distinfo +++ b/mail/akonadi/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.18 2013/07/28 20:52:16 wiz Exp $ +$NetBSD: distinfo,v 1.19 2013/10/26 22:04:57 joerg Exp $ SHA1 (akonadi-1.10.2.tar.bz2) = 97660e2a4fc8797ae86ac2981490d3868c6085ff RMD160 (akonadi-1.10.2.tar.bz2) = c9137ad702a13a2588a60ca91a73abad409adf8c Size (akonadi-1.10.2.tar.bz2) = 227993 bytes +SHA1 (patch-CMakeLists.txt) = 37ddde42e89e90c8626e8803ac2d2ed1e4805d24 SHA1 (patch-cmake_modules_FindSqlite.cmake) = 863e5324c07dff18306c1a3e358122d700debd9e SHA1 (patch-server_src_nepomuk_queryserviceclient.cpp) = ac47da466a84b67fe001e6b80b5c6d93ad20b107 SHA1 (patch-server_src_nepomuk_queryserviceclient.h) = 78b869b315a0365ccd0b309821296b48e126d363 diff --git a/mail/akonadi/patches/patch-CMakeLists.txt b/mail/akonadi/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..9270ddd8343 --- /dev/null +++ b/mail/akonadi/patches/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2013/10/26 22:04:57 joerg Exp $ + +--- CMakeLists.txt.orig 2013-10-16 19:49:37.000000000 +0000 ++++ CMakeLists.txt +@@ -257,7 +257,7 @@ option(CMAKE_COMPILE_GCOV "Build with co + if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER MATCHES "icc" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang")) + set(_ENABLE_EXCEPTIONS -fexceptions) + 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" CACHE STRING "Flags used by the compiler during all build types" FORCE) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common" CACHE STRING "Flags used by the compiler during all build types" FORCE) ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-common" CACHE STRING "Flags used by the compiler during all build types" FORCE) + if(CMAKE_COMPILE_GCOV) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage") + if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") |