diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-10 14:04:53 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-14 15:54:31 -0500 |
commit | 4b8a131d3897a3fda8d4e8fe635f19cc41bed36a (patch) | |
tree | d35c5b5da328fb3077f4e5deeb6aac8ad0e5d099 /external/cppunit | |
parent | 47f3485579929724afc0c4c5ebdfd2143cf952be (diff) |
upgrade to cppunit 1.13.2
* remove obsolete patch part
* enable x64 target for vc project file on win64
Change-Id: Ie794c08c9f739ad8c9c68c423f72e79ed4f6b0ff
Reviewed-on: https://gerrit.libreoffice.org/10856
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'external/cppunit')
-rw-r--r-- | external/cppunit/ExternalProject_cppunit.mk | 1 | ||||
-rw-r--r-- | external/cppunit/coverity.patch | 2 | ||||
-rw-r--r-- | external/cppunit/unix.patch | 13 |
3 files changed, 2 insertions, 14 deletions
diff --git a/external/cppunit/ExternalProject_cppunit.mk b/external/cppunit/ExternalProject_cppunit.mk index b5b7f8a04999..351c5a6995d5 100644 --- a/external/cppunit/ExternalProject_cppunit.mk +++ b/external/cppunit/ExternalProject_cppunit.mk @@ -17,6 +17,7 @@ ifeq ($(OS)$(COM),WNTMSC) $(call gb_ExternalProject_get_state_target,cppunit,build) : $(call gb_ExternalProject_run,build,\ PROFILEFLAGS="$(if $(MSVC_USE_DEBUG_RUNTIME),Debug,Release) \ + /p:Platform=$(if $(filter INTEL,$(CPUNAME)),Win32,x64) \ $(if $(filter 110,$(VCVER)),/p:PlatformToolset=$(if $(filter 80,$(WINDOWS_SDK_VERSION)),v110,v110_xp) \ /p:VisualStudioVersion=11.0) \ $(if $(filter 120,$(VCVER)),/p:PlatformToolset=v120 /p:VisualStudioVersion=12.0 /ToolsVersion:12.0)" \ diff --git a/external/cppunit/coverity.patch b/external/cppunit/coverity.patch index 5e5e64d4c7eb..6fb3261019cf 100644 --- a/external/cppunit/coverity.patch +++ b/external/cppunit/coverity.patch @@ -1,6 +1,6 @@ --- misc/cppunit-1.13.1/src/cppunit/Asserter.cpp +++ misc/build/cppunit-1.13.1/src/cppunit/Asserter.cpp -@@ -13,7 +13,7 @@ +@@ -13,7 +13,7 @@ Asserter::fail( std::string message, fail( Message( "assertion failed", message ), sourceLine ); } diff --git a/external/cppunit/unix.patch b/external/cppunit/unix.patch index 74de602f6a9d..e75e72c6fad8 100644 --- a/external/cppunit/unix.patch +++ b/external/cppunit/unix.patch @@ -8,16 +8,3 @@ } -@@ -34,7 +33,11 @@ - std::string - DynamicLibraryManager::getLastErrorDetail() const - { -- return ""; -+ const char *last_dlerror = ::dlerror(); -+ if (last_dlerror != NULL) -+ return last_dlerror; -+ else -+ return ""; - } - - |