[aria2] Make it build.

Tomáš Mráz tmraz at fedoraproject.org
Wed Mar 6 13:54:44 UTC 2013


commit c8c6f2343a648c65b273c77abb8815bf6c538484
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Wed Mar 6 14:54:36 2013 +0100

    Make it build.

 aria2-1.16.1-build.patch |   12 ++++++++++++
 aria2.spec               |    6 ++++--
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/aria2-1.16.1-build.patch b/aria2-1.16.1-build.patch
new file mode 100644
index 0000000..09d53f3
--- /dev/null
+++ b/aria2-1.16.1-build.patch
@@ -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\
diff --git a/aria2.spec b/aria2.spec
index 83a8cbc..61753c5 100644
--- a/aria2.spec
+++ b/aria2.spec
@@ -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 at fedoraproject.org> - 1.5.1-2
+* Mon Jul 27 2009 Rahul Sundaram <sundaram at fedoraproject.org> - 1.5.1-2
 - update source
 
-* Mon Jul 26 2009 Rahul Sundaram <sundaram at fedoraproject.org> - 1.5.1-1
+* Mon Jul 27 2009 Rahul Sundaram <sundaram at fedoraproject.org> - 1.5.1-1
 - Minor bug fixes
 - http://aria2.svn.sourceforge.net/viewvc/aria2/trunk/NEWS?revision=1494
 - Fixed the license tag


More information about the scm-commits mailing list