summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-09 14:47:55 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-09 14:47:55 +0300
commit96f256c215edc037d35b2ff3e6e47fce120c3749 (patch)
tree73269fddc8a08733348838a4a813e7d86ffaabc6 /cppunit
parentc9722674d965c43119b45c7b3f227d3131c3cce3 (diff)
Fix debugging build for iOS
Diffstat (limited to 'cppunit')
-rw-r--r--cppunit/ios.patch18
-rw-r--r--cppunit/makefile.mk2
2 files changed, 19 insertions, 1 deletions
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 <https://sourceforge.net/projects/cppunit/files/cppunit/1.12.1/
# cppunit-1.12.1.tar.gz/download>
-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 <https://sourceforge.net/tracker/?func=detail&
# aid=2912590&group_id=11795&atid=311795>
# warnings.patch: see <https://sourceforge.net/tracker/?func=detail&