- Add patch
This commit is contained in:
parent
cd8e6679a9
commit
1530eb35bc
2 changed files with 17 additions and 1 deletions
12
aria2-0.12.0-gcc43.patch
Normal file
12
aria2-0.12.0-gcc43.patch
Normal 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
|
||||||
|
|
@ -6,6 +6,7 @@ Group: Applications/Internet
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://aria2.sourceforge.net/
|
URL: http://aria2.sourceforge.net/
|
||||||
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: c-ares-devel cppunit-devel
|
BuildRequires: c-ares-devel cppunit-devel
|
||||||
|
|
@ -34,7 +35,7 @@ Currently it has following features:
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-bittorrent \
|
%configure --enable-bittorrent \
|
||||||
|
|
@ -66,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.0-3
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue