summaryrefslogtreecommitdiff
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
commitf2ea09a2fabb1dd732a02bf5bc17f3d535978b89 (patch)
treebb4a5bb6375eeccc7c734ec1139f4470fef139c0
parent4284d6b3fc9b015ffe45ddb56744a56666fb31e4 (diff)
Fix debugging build for iOS
-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 0000000..cfe548e
--- /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 4719a82..23d8603 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&