From 96f256c215edc037d35b2ff3e6e47fce120c3749 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 9 Jul 2011 14:47:55 +0300 Subject: Fix debugging build for iOS --- cppunit/ios.patch | 18 ++++++++++++++++++ cppunit/makefile.mk | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 cppunit/ios.patch diff --git a/cppunit/ios.patch b/cppunit/ios.patch new file mode 100644 index 000000000000..cfe548ea6e7d --- /dev/null +++ b/cppunit/ios.patch @@ -0,0 +1,18 @@ +--- misc/build/cppunit-1.12.1/configure ++++ misc/build/cppunit-1.12.1/configure +@@ -23273,7 +23273,7 @@ + { echo "$as_me:$LINENO: result: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 + echo "${ECHO_T}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 @@ + echo "$as_me: error: input file $ac_prefix_conf_IN does not exist, skip generating $ac_prefix_conf_OUT" >&2;} + { (exit 1); exit 1; }; } + fi +- rm -f conftest.* ++ rm -f -r conftest.* + fi diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk index 4719a8200e58..23d8603c9e58 100644 --- a/cppunit/makefile.mk +++ b/cppunit/makefile.mk @@ -34,7 +34,7 @@ TARFILE_MD5=bd30e9cf5523cdfc019b94f5e1d7fd19 # from -PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.patch aix.patch avoid-synthetised-destructor.patch android.patch +PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.patch aix.patch avoid-synthetised-destructor.patch android.patch ios.patch # solarisfinite.patch: see # warnings.patch: see