Make it build.

This commit is contained in:
Tomas Mraz 2013-03-06 14:54:36 +01:00
parent 288e38f14e
commit c8c6f2343a
2 changed files with 16 additions and 2 deletions

12
aria2-1.16.1-build.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up aria2-1.16.1/src/Makefile.in.build aria2-1.16.1/src/Makefile.in
--- aria2-1.16.1/src/Makefile.in.build 2012-12-26 17:09:00.000000000 +0100
+++ aria2-1.16.1/src/Makefile.in 2013-03-06 14:51:51.635190936 +0100
@@ -1422,7 +1422,7 @@ SRCS = SocketCore.cc SocketCore.h Binary
$(am__append_34) $(am__append_35)
noinst_LIBRARIES = libaria2c.a
libaria2c_a_SOURCES = $(SRCS)
-aria2c_LDADD = libaria2c.a @LIBINTL@ @ALLOCA@ #-lprofiler
+aria2c_LDADD = libaria2c.a @LIBINTL@ @ALLOCA@ -lpthread #-lprofiler
#aria2c_LDFLAGS = -pg
AM_CPPFLAGS = -Wall\
-I$(top_srcdir)/lib -I$(top_srcdir)/intl\

View file

@ -8,6 +8,7 @@ Group: Applications/Internet
License: GPLv2+ with exceptions
URL: http://aria2.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
Patch1: aria-1.16.1-build.patch
BuildRequires: bison
BuildRequires: c-ares-devel cppunit-devel
BuildRequires: gettext gnutls-devel
@ -37,6 +38,7 @@ Currently it has following features:
%prep
%setup -q
%patch1 -p 1 -b .build
%build
%configure --enable-bittorrent \
@ -155,10 +157,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
- Minor bug fixes
- http://aria2.svn.sourceforge.net/viewvc/aria2/trunk/NEWS?revision=1504
* Mon Jul 26 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5.1-2
* Mon Jul 27 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5.1-2
- update source
* Mon Jul 26 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5.1-1
* Mon Jul 27 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5.1-1
- Minor bug fixes
- http://aria2.svn.sourceforge.net/viewvc/aria2/trunk/NEWS?revision=1494
- Fixed the license tag