summaryrefslogtreecommitdiff
path: root/editors/kate
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-26 12:25:49 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-26 12:25:49 +0000
commit9cf84ac3443dc8342ea4f80a5a6a894ab7060bbe (patch)
tree2d8185776759195f327beada29c409231e629367 /editors/kate
parent88d9441de47bf46d30a3c0662b9f88455b6c1131 (diff)
downloadpkgsrc-9cf84ac3443dc8342ea4f80a5a6a894ab7060bbe.tar.gz
Restrict one of the test cases to -O0. Due to required inlining, some
functions are extremely large and depending on how early the selected compiler decides to bail out with optimisation, it can grow extremely large.
Diffstat (limited to 'editors/kate')
-rw-r--r--editors/kate/distinfo3
-rw-r--r--editors/kate/patches/patch-tests_CMakeLists.txt17
2 files changed, 19 insertions, 1 deletions
diff --git a/editors/kate/distinfo b/editors/kate/distinfo
index 4113beb4001..851cd91a1aa 100644
--- a/editors/kate/distinfo
+++ b/editors/kate/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2014/11/13 20:10:09 markd Exp $
+$NetBSD: distinfo,v 1.9 2014/11/26 12:25:49 joerg Exp $
SHA1 (kate-4.14.3.tar.xz) = da37195e86b5449fcdfe69a3f7df6373a5da900c
RMD160 (kate-4.14.3.tar.xz) = 195cfac39111a1434b6b5c60543b219a70c0c74e
Size (kate-4.14.3.tar.xz) = 2766880 bytes
SHA1 (patch-addons_kate_pate_src_version_checker.h) = f22a9131bcbcdffc0330d258cf471d8e3dcbf05e
+SHA1 (patch-tests_CMakeLists.txt) = ae9f410649101d6803fc6b14f487f8243fce0991
diff --git a/editors/kate/patches/patch-tests_CMakeLists.txt b/editors/kate/patches/patch-tests_CMakeLists.txt
new file mode 100644
index 00000000000..aac7daaecd6
--- /dev/null
+++ b/editors/kate/patches/patch-tests_CMakeLists.txt
@@ -0,0 +1,17 @@
+$NetBSD: patch-tests_CMakeLists.txt,v 1.1 2014/11/26 12:25:49 joerg Exp $
+
+More a compiler memory test than a functional test otherwise
+with functions larger than 500KB+.
+
+--- tests/CMakeLists.txt.orig 2014-10-26 20:17:55.000000000 +0000
++++ tests/CMakeLists.txt
+@@ -101,8 +101,7 @@ target_link_libraries( searchbar_test
+ ########### vimode test ###############
+
+ kde4_add_unit_test(vimode_test TESTNAME kate-vimode_test vimode_test.cpp)
+-
+-
++set_source_files_properties(vimode_test.cpp PROPERTIES COMPILE_FLAGS -O0)
+
+ target_link_libraries( vimode_test
+ ${KDE4_KDEUI_LIBS}