- Add cppunit.diff to support newer cppunit OBS-URL: https://build.opensuse.org/request/show/492585 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtorrent?expand=0&rev=9
23 lines
670 B
Diff
23 lines
670 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2017-05-03 10:29:41.992264417 +0200
|
|
Subject: build: resolve autogen.sh failure with cppunit 1.14
|
|
|
|
configure.ac:22: warning: macro 'AM_PATH_CPPUNIT' not found in library
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: libtorrent-0.13.6/configure.ac
|
|
===================================================================
|
|
--- libtorrent-0.13.6.orig/configure.ac
|
|
+++ libtorrent-0.13.6/configure.ac
|
|
@@ -19,7 +19,7 @@ AC_SUBST(LIBTORRENT_INTERFACE_VERSION_NO
|
|
|
|
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
|
|
|