diff --git a/aria2-0.12.0-gcc43.patch b/aria2-0.12.0-gcc43.patch new file mode 100644 index 0000000..f01827c --- /dev/null +++ b/aria2-0.12.0-gcc43.patch @@ -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 ++ + #ifndef _D_COMMON_H_ + #define _D_COMMON_H_ + // use C99 limit macros diff --git a/aria2.spec b/aria2.spec index 95f7531..7b151de 100644 --- a/aria2.spec +++ b/aria2.spec @@ -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 - 0.12.0-4 +- Add patch + * Mon Feb 18 2008 Fedora Release Engineering - 0.12.0-3 - Autorebuild for GCC 4.3