summarylogtreecommitdiffstats
path: root/Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch
diff options
context:
space:
mode:
authorPierre-Yves Ritschard2018-01-04 18:32:50 +0100
committerPierre-Yves Ritschard2018-01-04 18:32:50 +0100
commit26c627e8dd76e2f0426f772eb6ee7b1b5c06da37 (patch)
treee0aaa2f8306d81a67a98f30548cffad418a27126 /Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch
parent41610fcf4c6a5321f6d61cd26a7d636ef01b1b7b (diff)
downloadaur-libzookeeper.tar.gz
libzookeeper: update to latest version and fix build
Diffstat (limited to 'Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch')
-rw-r--r--Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch b/Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch
new file mode 100644
index 00000000000..e245445c334
--- /dev/null
+++ b/Use-PKG_CHECK_insteadOf-AM_PATH_CPPUNIT.patch
@@ -0,0 +1,12 @@
+diff -ura --color zookeeper-release-3.4.7/src/c/configure.ac new/src/c/configure.ac
+--- zookeeper-release-3.4.7/src/c/configure.ac 2015-11-21 20:07:24.000000000 +0100
++++ new/src/c/configure.ac 2017-12-18 13:38:33.429573797 +0100
+@@ -37,7 +37,7 @@
+ CPPUNIT_INCLUDE=
+ CPPUNIT_LIBS=
+ else
+- AM_PATH_CPPUNIT(1.10.2)
++ PKG_CHECK_MODULES(CPPUNIT, cppunit >= 1.10.2)
+ fi
+
+ if test "$CALLER" = "ANT" ; then \ No newline at end of file