summaryrefslogtreecommitdiff
path: root/devel/cppunit/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-04-19 12:20:08 +0000
committerwiz <wiz@pkgsrc.org>2017-04-19 12:20:08 +0000
commit5b40948c6f7c478172c7563839918ea721c4d05d (patch)
tree527be1f6690dc1cfb53d16bcfaa6b285a75f8304 /devel/cppunit/patches
parent30e9f50ccb7d12c79157ec077a8e21ea22677ce8 (diff)
downloadpkgsrc-5b40948c6f7c478172c7563839918ea721c4d05d.tar.gz
Updated cppunit to 1.14.0.
New in CppUnit 1.14.0: --------------------- - TestCaller supports any callable that can be put into std::function<void()>. - CPPUNIT_TEST_PARAMETERIZED executes a test for any value in an iteratable. - Added new Assertion macros: ASSERT_LESS, ASSERT_GREATER, ASSERT_LESSEQUAL, ASSERT_GREATEREQUAL * Portability: - Always build with C++11. - Always require RTTI support. - Removed support for compilers that don't support default template arguments with standard containers. - Removed portability headers for wrapper around standard containers. - Support C++11 enum class in asserter. * Test Plug-in Runner: - Fixed crash on Win64 in test runner (fdo#81433) * Removed features - QT test runner - msvc6 test runners - msvc6 plugin - BeOS support
Diffstat (limited to 'devel/cppunit/patches')
-rw-r--r--devel/cppunit/patches/patch-configure45
-rw-r--r--devel/cppunit/patches/patch-doc_Makefile.in8
2 files changed, 4 insertions, 49 deletions
diff --git a/devel/cppunit/patches/patch-configure b/devel/cppunit/patches/patch-configure
deleted file mode 100644
index a75344461c6..00000000000
--- a/devel/cppunit/patches/patch-configure
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2015/12/08 11:02:25 jperkin Exp $
-
-Use $as_echo to ensure \1 etc are supported.
-
---- configure.orig 2013-11-11 04:41:53.000000000 +0000
-+++ configure
-@@ -19087,23 +19087,23 @@ $as_echo X/* automatically generated */
- q
- }
- s/.*/./; q'
-- echo '#ifndef '$ac_prefix_conf_DEF >$ac_prefix_conf_OUT
-- echo '#define '$ac_prefix_conf_DEF' 1' >>$ac_prefix_conf_OUT
-- echo ' ' >>$ac_prefix_conf_OUT
-- echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$ac_prefix_conf_OUT
-+ $as_echo '#ifndef '$ac_prefix_conf_DEF >$ac_prefix_conf_OUT
-+ $as_echo '#define '$ac_prefix_conf_DEF' 1' >>$ac_prefix_conf_OUT
-+ $as_echo ' ' >>$ac_prefix_conf_OUT
-+ $as_echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$ac_prefix_conf_OUT
-
-- echo 's/#undef *\([A-Z_]\)/#undef '$ac_prefix_conf_UPP'_\1/' >conftest.sed
-- echo 's/#undef *\([a-z]\)/#undef '$ac_prefix_conf_LOW'_\1/' >>conftest.sed
-- echo 's/#define *\([A-Z_][A-Za-z0-9_]*\)\(.*\)/#ifndef '$ac_prefix_conf_UPP"_\\1 \\" >>conftest.sed
-- echo '#define '$ac_prefix_conf_UPP"_\\1 \\2 \\" >>conftest.sed
-- echo '#endif/' >>conftest.sed
-- echo 's/#define *\([a-z][A-Za-z0-9_]*\)\(.*\)/#ifndef '$ac_prefix_conf_LOW"_\\1 \\" >>conftest.sed
-- echo '#define '$ac_prefix_conf_LOW"_\\1 \\2 \\" >>conftest.sed
-- echo '#endif/' >>conftest.sed
-+ $as_echo 's/#undef *\([A-Z_]\)/#undef '$ac_prefix_conf_UPP'_\1/' >conftest.sed
-+ $as_echo 's/#undef *\([a-z]\)/#undef '$ac_prefix_conf_LOW'_\1/' >>conftest.sed
-+ $as_echo 's/#define *\([A-Z_][A-Za-z0-9_]*\)\(.*\)/#ifndef '$ac_prefix_conf_UPP"_\\1 \\" >>conftest.sed
-+ $as_echo '#define '$ac_prefix_conf_UPP"_\\1 \\2 \\" >>conftest.sed
-+ $as_echo '#endif/' >>conftest.sed
-+ $as_echo 's/#define *\([a-z][A-Za-z0-9_]*\)\(.*\)/#ifndef '$ac_prefix_conf_LOW"_\\1 \\" >>conftest.sed
-+ $as_echo '#define '$ac_prefix_conf_LOW"_\\1 \\2 \\" >>conftest.sed
-+ $as_echo '#endif/' >>conftest.sed
- sed -f conftest.sed $ac_prefix_conf_INP >>$ac_prefix_conf_OUT
-- echo ' ' >>$ac_prefix_conf_OUT
-- echo '/*' $ac_prefix_conf_DEF '*/' >>$ac_prefix_conf_OUT
-- echo '#endif' >>$ac_prefix_conf_OUT
-+ $as_echo ' ' >>$ac_prefix_conf_OUT
-+ $as_echo '/*' $ac_prefix_conf_DEF '*/' >>$ac_prefix_conf_OUT
-+ $as_echo '#endif' >>$ac_prefix_conf_OUT
- else
- as_fn_error $? "input file $ac_prefix_conf_IN does not exist, skip generating $ac_prefix_conf_OUT" "$LINENO" 5
- fi
diff --git a/devel/cppunit/patches/patch-doc_Makefile.in b/devel/cppunit/patches/patch-doc_Makefile.in
index 1071a4c61ff..39743c7906a 100644
--- a/devel/cppunit/patches/patch-doc_Makefile.in
+++ b/devel/cppunit/patches/patch-doc_Makefile.in
@@ -1,10 +1,10 @@
-$NetBSD: patch-doc_Makefile.in,v 1.2 2015/12/08 11:02:25 jperkin Exp $
+$NetBSD: patch-doc_Makefile.in,v 1.3 2017/04/19 12:20:08 wiz Exp $
Install docs in $docdir.
---- doc/Makefile.in.orig 2013-11-11 04:41:52.000000000 +0000
+--- doc/Makefile.in.orig 2017-04-19 12:16:20.675089478 +0000
+++ doc/Makefile.in
-@@ -50,7 +50,7 @@ PRE_UNINSTALL = :
+@@ -88,7 +88,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@@ -12,4 +12,4 @@ Install docs in $docdir.
+@DOC_TRUE@am__append_1 = $(docdir)/html
@DOC_TRUE@am__append_2 = $(static_pages) html/index.html
subdir = doc
- DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4