packages: rtorrent/rtorrent.spec, rtorrent/rtorrent-ac.patch (NEW) - BR cpp...

baggins baggins at pld-linux.org
Wed Oct 27 12:57:52 CEST 2010


Author: baggins                      Date: Wed Oct 27 10:57:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR cppunit-devel
- fix usual tinfow linking problems

---- Files affected:
packages/rtorrent:
   rtorrent.spec (1.82 -> 1.83) , rtorrent-ac.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/rtorrent/rtorrent.spec
diff -u packages/rtorrent/rtorrent.spec:1.82 packages/rtorrent/rtorrent.spec:1.83
--- packages/rtorrent/rtorrent.spec:1.82	Wed Oct 27 12:30:14 2010
+++ packages/rtorrent/rtorrent.spec	Wed Oct 27 12:57:47 2010
@@ -20,10 +20,12 @@
 Patch0:		%{name}-colors.patch
 Patch1:		%{name}-ssl-no-verify.patch
 Patch2:		%{name}-ip_filter.patch
+Patch3:		%{name}-ac.patch
 URL:		http://libtorrent.rakshasa.no/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	boost-devel >= 1.35.0
+BuildRequires:	cppunit-devel
 BuildRequires:	curl-devel >= 7.12
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
@@ -55,6 +57,7 @@
 %patch1 -p1
 # broke, see TODO
 #%patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -91,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2010/10/27 10:57:47  baggins
+- BR cppunit-devel
+- fix usual tinfow linking problems
+
 Revision 1.82  2010/10/27 10:30:14  baggins
 - 0.8.7
 

================================================================
Index: packages/rtorrent/rtorrent-ac.patch
diff -u /dev/null packages/rtorrent/rtorrent-ac.patch:1.1
--- /dev/null	Wed Oct 27 12:57:52 2010
+++ packages/rtorrent/rtorrent-ac.patch	Wed Oct 27 12:57:47 2010
@@ -0,0 +1,26 @@
+--- rtorrent-0.8.7/scripts/checks.m4~	2010-06-26 14:05:04.000000000 +0200
++++ rtorrent-0.8.7/scripts/checks.m4	2010-10-27 12:50:13.294309175 +0200
+@@ -209,16 +209,19 @@
+     [
+       if test "$withval" = "no"; then
+ 	AC_SEARCH_LIBS(add_wch, ncursesw,
+-	  AC_DEFINE(HAVE_NCURSESW, 1, defined if ncurses wide character support is available),
+-	  AC_SEARCH_LIBS(wbkgdset, ncurses curses,,echo "*** The ncurses library is required!";exit 1)
++	  [AC_DEFINE(HAVE_NCURSESW, 1, defined if ncurses wide character support is available)
++	  AC_SEARCH_LIBS(nodelay, tinfow)],
++	  AC_SEARCH_LIBS(wbkgdset, ncurses curses,AC_SEARCH_LIBS(nodelay, tinfo),echo "*** The ncurses library is required!";exit 1)
+         )
+       else
+ 	AC_SEARCH_LIBS(wbkgdset, ncurses curses,,echo "*** The ncurses library is required!";exit 1)
++        AC_SEARCH_LIBS(nodelay, tinfo)
+       fi
+     ],[
+       AC_SEARCH_LIBS(add_wch, ncursesw,
+-	AC_DEFINE(HAVE_NCURSESW, 1, defined if ncurses wide character support is available),
+-	AC_SEARCH_LIBS(wbkgdset, ncurses curses,,echo "*** The ncurses library is required!";exit 1)
++	[AC_DEFINE(HAVE_NCURSESW, 1, defined if ncurses wide character support is available)
++	AC_SEARCH_LIBS(nodelay, tinfow)],
++	AC_SEARCH_LIBS(wbkgdset, ncurses curses,AC_SEARCH_LIBS(nodelay, tinfow),echo "*** The ncurses library is required!";exit 1)
+       )
+     ])
+ ])
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rtorrent/rtorrent.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list