- Add patch

This commit is contained in:
Michał Bentkowski 2008-02-22 16:00:35 +00:00
parent cd8e6679a9
commit 1530eb35bc
2 changed files with 17 additions and 1 deletions

12
aria2-0.12.0-gcc43.patch Normal file
View file

@ -0,0 +1,12 @@
--- src/common.h.gcc43 2007-08-28 18:36:33.000000000 +0200
+++ src/common.h 2008-01-10 19:47:01.000000000 +0100
@@ -32,6 +32,9 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
+
+#include <cstring>
+
#ifndef _D_COMMON_H_
#define _D_COMMON_H_
// use C99 limit macros

View file

@ -6,6 +6,7 @@ Group: Applications/Internet
License: GPLv2
URL: http://aria2.sourceforge.net/
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0: aria2-0.12.0-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison
BuildRequires: c-ares-devel cppunit-devel
@ -34,7 +35,7 @@ Currently it has following features:
%prep
%setup -q
%patch0
%build
%configure --enable-bittorrent \
@ -66,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 22 2008 Michał Bentkowski <mr.ecik at gmail.com> - 0.12.0-4
- Add patch
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.0-3
- Autorebuild for GCC 4.3