summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-05-03 17:05:17 +0200
committersb <sb@openoffice.org>2010-05-03 17:05:17 +0200
commit84b4b5fd26e906cdc551b1fdedfa748381c141b1 (patch)
tree35ab30fb2374f5b16f1a7c745bcf4b2a1688064e /cppunit
parent7d5193bb8e0f3f0c524ba7d83595eb1f37ee937c (diff)
sb122: #i111141# fix ArchLinux build problem (patch from <http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=cppunit.diff;att=1;bug=338252>)
Diffstat (limited to 'cppunit')
-rw-r--r--cppunit/ldflags.patch10
-rw-r--r--cppunit/makefile.mk2
2 files changed, 11 insertions, 1 deletions
diff --git a/cppunit/ldflags.patch b/cppunit/ldflags.patch
new file mode 100644
index 000000000000..cecd69a4b5ee
--- /dev/null
+++ b/cppunit/ldflags.patch
@@ -0,0 +1,10 @@
+--- misc/cppunit-1.12.1/src/cppunit/Makefile.am Wed Feb 20 06:36:38 2008
++++ misc/build/cppunit-1.12.1/src/cppunit/Makefile.am Mon May 3 17:00:41 2010
+@@ -63,5 +63,6 @@
+
+ libcppunit_la_LDFLAGS= \
+ -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+- -release $(LT_RELEASE)
++ -release $(LT_RELEASE) \
++ @LIBADD_DL@
+
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index b57c341e2a23..f418731c36c1 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
+PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.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&