diff options
Diffstat (limited to 'external/cppunit')
-rw-r--r-- | external/cppunit/UnpackedTarball_cppunit.mk | 9 | ||||
-rw-r--r-- | external/cppunit/android.patch | 33 | ||||
-rw-r--r-- | external/cppunit/ios.patch | 18 |
3 files changed, 0 insertions, 60 deletions
diff --git a/external/cppunit/UnpackedTarball_cppunit.mk b/external/cppunit/UnpackedTarball_cppunit.mk index e1a77a5ea327..5898a886005d 100644 --- a/external/cppunit/UnpackedTarball_cppunit.mk +++ b/external/cppunit/UnpackedTarball_cppunit.mk @@ -16,15 +16,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ external/cppunit/unix.patch \ external/cppunit/wundef.patch \ )) -ifeq ($(OS),ANDROID) -$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ - external/cppunit/android.patch \ -)) -else ifeq ($(OS),IOS) -$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ - external/cppunit/ios.patch \ -)) -endif ifeq ($(DISABLE_DYNLOADING),TRUE) $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ external/cppunit/disable-dynloading.patch \ diff --git a/external/cppunit/android.patch b/external/cppunit/android.patch deleted file mode 100644 index 59ae4517abf1..000000000000 --- a/external/cppunit/android.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- misc/cppunit-1.13.1/config/ltmain.sh -+++ misc/build/cppunit-1.13.1/config/ltmain.sh -@@ -3228,6 +3228,12 @@ - fi - else - -+ # Force no versioning suffix for Android thanks to silly -+ # apkbuilder which doesn't add extra native libs unless their -+ # name ends with .so -+ -+ version_type=none -+ - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 ---- misc/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp -+++ misc/build/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp -@@ -13,7 +13,15 @@ - DynamicLibraryManager::LibraryHandle - DynamicLibraryManager::doLoadLibrary( const std::string &libraryName ) - { -+#ifdef __ANDROID__ -+ // Use our enhanced dlopen() wrapper, see sal/osl/android/jni/lo-wrapper.c -+ void *(*lo_dlopen)(const char *) = (void *(*)(const char *)) dlsym( RTLD_DEFAULT, "lo_dlopen" ); -+ if (lo_dlopen == NULL) -+ return NULL; -+ return (*lo_dlopen)( libraryName.c_str() ); -+#else - return ::dlopen( libraryName.c_str(), RTLD_NOW | RTLD_GLOBAL ); -+#endif - } - - diff --git a/external/cppunit/ios.patch b/external/cppunit/ios.patch deleted file mode 100644 index d7e355cddf44..000000000000 --- a/external/cppunit/ios.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- misc/cppunit-1.13.1/configure -+++ misc/cppunit-1.13.1/configure -@@ -23273,7 +23273,7 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: result: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 - $as_echo "creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6; } - if test -f $ac_prefix_conf_INP ; then -- $as_dirname -- /* automatically generated */ || -+ $as_dirname -- '/* automatically generated */' || - $as_expr X/* automatically generated */ : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X/* automatically generated */ : 'X\(//\)[^/]' \| \ - X/* automatically generated */ : 'X\(//\)$' \| \ -@@ -23318,5 +23318,5 @@ - else - as_fn_error $? "input file $ac_prefix_conf_IN does not exist, skip generating $ac_prefix_conf_OUT" "$LINENO" 5 - fi -- rm -f conftest.* -+ rm -f -r conftest.* - fi |