summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-08-12 16:01:34 +0000
committerwiz <wiz@pkgsrc.org>2012-08-12 16:01:34 +0000
commit8c6bf20fddbb4d682a40760993d9304f50a6ef63 (patch)
tree4997dd6c0cf7282bf6ec6ad907b24aab59f97795
parent1b504899e0d7f1d2483431680c7825dce17fa248 (diff)
downloadpkgsrc-8c6bf20fddbb4d682a40760993d9304f50a6ef63.tar.gz
Update to 1.13.0 from new upstream.
New in CppUnit 1.13.0: ---------------------- * Portability: - Added support for macro CPPUNIT_UNIQUE_COUNTER to config-*.h. It should expands to a unique number per translation unit. Default to __LINE__ if not defined. Use __COUNTER__ on MSVS 7.0+. (Bug #2031696) * Compilation - destructor of Message causes segfault when testing (rhbz#641350) - use correct CPPUNIT_VERSION value (sf#2983798) - allow -Werror builds (various Libreoffice patches) - finite in "ieeefp.h" instead of math.h on Solaris (sf#2912590) - Fixed compilation issue with Microsoft Visual Studio.Net 2005/2008 and added Visual Studio 2005/2010 projects (.vcproj/.vcxproj) - Changes to build without warnings using gcc -Wall -W -ansi (patch #1898225 contributed by dpkatz) - Libraries flags such as "-ldl" are now in LDADD instead of LIBADD_DL ( patch #2807259 contributed by Jan Echternach). - Fixed detection of cxxabi.h with gcc 4.3 in configure (bug #2796543). - made TestCaseDecorator copy c'tor and operator= private (fdo#51317) * Documentation - Updated several false documentation entries (sf#2185407, sf#2186611) * Test Plug-in Runner: - fixed memory leak in TestPlugInRunnerDlg (#1721408)
-rw-r--r--devel/cppunit/Makefile11
-rw-r--r--devel/cppunit/distinfo11
-rw-r--r--devel/cppunit/patches/patch-include_cppunit_Message.h18
-rw-r--r--devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h15
-rw-r--r--devel/cppunit/patches/patch-src_cppunit_Message.cpp20
5 files changed, 9 insertions, 66 deletions
diff --git a/devel/cppunit/Makefile b/devel/cppunit/Makefile
index c06e6fd41af..953f0939afd 100644
--- a/devel/cppunit/Makefile
+++ b/devel/cppunit/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.21 2012/05/12 05:33:11 adam Exp $
+# $NetBSD: Makefile,v 1.22 2012/08/12 16:01:34 wiz Exp $
-DISTNAME= cppunit-1.12.1
-PKGREVISION= 2
+DISTNAME= cppunit-1.13.0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppunit/}
+MASTER_SITES= http://dev-www.libreoffice.org/src/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://cppunit.sourceforge.net/
-COMMENT= CppUnit is a C++ unit testing framework
+HOMEPAGE= http://www.freedesktop.org/wiki/Software/cppunit
+COMMENT= C++ unit testing framework
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/devel/cppunit/distinfo b/devel/cppunit/distinfo
index a5d8135b0db..cc67c52fbff 100644
--- a/devel/cppunit/distinfo
+++ b/devel/cppunit/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.5 2011/09/14 15:56:15 hans Exp $
+$NetBSD: distinfo,v 1.6 2012/08/12 16:01:34 wiz Exp $
-SHA1 (cppunit-1.12.1.tar.gz) = f1ab8986af7a1ffa6760f4bacf5622924639bf4a
-RMD160 (cppunit-1.12.1.tar.gz) = c5f38b1d201afcba7913f2b53fb7558add3d21f5
-Size (cppunit-1.12.1.tar.gz) = 762803 bytes
-SHA1 (patch-include_cppunit_Message.h) = aa4442b3c8d144a686d8d43f4c97943ee0d82ba4
-SHA1 (patch-include_cppunit_portability_FloatingPoint.h) = 7e358bc36e201b6fcee801ee04bd68055e69e233
-SHA1 (patch-src_cppunit_Message.cpp) = 4e5d38c70879d30f18bc7135916346a58652d3ce
+SHA1 (cppunit-1.13.0.tar.gz) = ec6767a678db3e068230de3a24a07f7caf653bea
+RMD160 (cppunit-1.13.0.tar.gz) = 4288bc77046f7a43435259063394c6d2e8e7b515
+Size (cppunit-1.13.0.tar.gz) = 819030 bytes
diff --git a/devel/cppunit/patches/patch-include_cppunit_Message.h b/devel/cppunit/patches/patch-include_cppunit_Message.h
deleted file mode 100644
index 81edb0e5ef4..00000000000
--- a/devel/cppunit/patches/patch-include_cppunit_Message.h
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-include_cppunit_Message.h,v 1.1 2011/06/28 09:28:24 wiz Exp $
-
-devel/cppunit misses a destructor declaration for one of its classes.
-The compiler generates an implicit destructor but in certain circonstances this leads to crashes.
-More information is available in this bug report on Red Hat's tracker:
-https://bugzilla.redhat.com/show_bug.cgi?id=641350
-
---- include/cppunit/Message.h.orig 2004-11-19 20:00:44.000000000 +0000
-+++ include/cppunit/Message.h
-@@ -57,6 +57,8 @@ public:
- const std::string &detail2,
- const std::string &detail3 );
-
-+ ~Message();
-+
- Message &operator =( const Message &other );
-
- /*! \brief Returns the short description.
diff --git a/devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h b/devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h
deleted file mode 100644
index 8055ad9b2f6..00000000000
--- a/devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-include_cppunit_portability_FloatingPoint.h,v 1.1 2011/09/14 15:56:15 hans Exp $
-
---- include/cppunit/portability/FloatingPoint.h.orig 2007-03-05 04:16:42.000000000 +0100
-+++ include/cppunit/portability/FloatingPoint.h 2011-09-13 15:48:01.512720874 +0200
-@@ -4,6 +4,10 @@
- #include <cppunit/Portability.h>
- #include <math.h>
-
-+#ifdef __sun
-+#include <ieeefp.h>
-+#endif
-+
- CPPUNIT_NS_BEGIN
-
- /// \brief Tests if a floating-point is a NaN.
diff --git a/devel/cppunit/patches/patch-src_cppunit_Message.cpp b/devel/cppunit/patches/patch-src_cppunit_Message.cpp
deleted file mode 100644
index 75c60393e7f..00000000000
--- a/devel/cppunit/patches/patch-src_cppunit_Message.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-src_cppunit_Message.cpp,v 1.1 2011/06/28 09:28:24 wiz Exp $
-
-devel/cppunit misses a destructor declaration for one of its classes.
-The compiler generates an implicit destructor but in certain circonstances this leads to crashes.
-More information is available in this bug report on Red Hat's tracker:
-https://bugzilla.redhat.com/show_bug.cgi?id=641350
-
---- src/cppunit/Message.cpp.orig 2004-11-19 20:00:44.000000000 +0000
-+++ src/cppunit/Message.cpp
-@@ -47,6 +47,10 @@ Message::Message( const std::string &sho
- addDetail( detail1, detail2, detail3 );
- }
-
-+Message::~Message()
-+{
-+}
-+
- Message &
- Message::operator =( const Message &other )
- {