tag 862131 + patch
tag 862131 + pending
thanks

Dear maintainer,

as this is maintained by collab-maint I felt free to commit it myself.
(and I updated the git to match current reality..).

Here's the diff:

diff --git a/debian/changelog b/debian/changelog
index b7c8692..6ab41bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rtorrent (0.9.6-3) UNRELEASED; urgency=medium
+
+  [ Rene Engelhard ]
+  * use PKG_CHECK_MODULES instead of AM_PATH_CPPUNIT (closes: #862131)
+
+ -- Rene Engelhard <r...@debian.org>  Mon, 15 May 2017 22:43:32 +0200
+
 rtorrent (0.9.6-2) unstable; urgency=medium
 
   * remove dependency on libsigc++
diff --git a/debian/patches/pkg-config.diff b/debian/patches/pkg-config.diff
new file mode 100644
index 0000000..6fb6696
--- /dev/null
+++ b/debian/patches/pkg-config.diff
@@ -0,0 +1,17 @@
+Description: use PKG_CHECK_MODULES instead of AM_PATH_CPPUNIT
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/862131
+Forwarded: no
+Last-Update: 2017-05-15
+
+--- rtorrent-0.9.6.orig/configure.ac
++++ rtorrent-0.9.6/configure.ac
+@@ -4,7 +4,7 @@ AC_DEFINE(API_VERSION, 9, api version)
+ 
+ AM_INIT_AUTOMAKE
+ AC_CONFIG_HEADERS(config.h)
+-AM_PATH_CPPUNIT(1.9.6)
++PKG_CHECK_MODULES(CPPUNIT, cppunit >= 1.9.6)
+ 
+ AC_PROG_CXX
+ AC_PROG_LIBTOOL
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3ba0119
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pkg-config.diff

Regards,

Rene

Reply via email to