forked from pool/libtorrent
Accepting request 492585 from network:utilities
- 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
This commit is contained in:
parent
6b33d4f727
commit
1fbfcf4337
22
cppunit.diff
Normal file
22
cppunit.diff
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 08:37:07 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Add cppunit.diff to support newer cppunit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 15 17:08:10 UTC 2015 - mpluskal@suse.com
|
Sun Nov 15 17:08:10 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ Url: http://github.com/rakshasa/libtorrent
|
|||||||
|
|
||||||
#Git-Clone: git://github.com/rakshasa/libtorrent
|
#Git-Clone: git://github.com/rakshasa/libtorrent
|
||||||
Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
|
Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
|
||||||
|
Patch1: cppunit.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -64,6 +65,7 @@ seed speeds than the official client on high-bandwidth links.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fno-strict-aliasing"
|
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||||
|
Loading…
Reference in New Issue
Block a user