Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3ed124e87d7c8f0c7514d6c4a7d6a2e0d38d23e0

commit 3ed124e87d7c8f0c7514d6c4a7d6a2e0d38d23e0
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Jun 2 16:49:34 2009 +0200

rtorrent-0.8.4-1-i686

- add rtorrent-0.8.4-gcc44.patch

diff --git a/source/network-extra/rtorrent/FrugalBuild 
b/source/network-extra/rtorrent/FrugalBuild
index 068c981..00808d8 100644
--- a/source/network-extra/rtorrent/FrugalBuild
+++ b/source/network-extra/rtorrent/FrugalBuild
@@ -11,8 +11,10 @@ groups=('network-extra')
archs=('i686' 'x86_64')
Fconfopts="$Fconfopts --with-xmlrpc-c"
up2date="Flasttar $url"
-source=(http://libtorrent.rakshasa.no/downloads/rtorrent-$pkgver.tar.gz 
curl_segfault_dirty_hack.diff)
+source=(http://libtorrent.rakshasa.no/downloads/rtorrent-$pkgver.tar.gz 
curl_segfault_dirty_hack.diff
+       rtorrent-0.8.4-gcc44.patch)
sha1sums=('83a7c0dbeb46bb074ae075d9faf5d05f0df17571' \
-          '583dadf10d30956ec796ec9f3c2c4d5dfff64c79')
+          '583dadf10d30956ec796ec9f3c2c4d5dfff64c79' \
+          'b877e02cb0b7f486a432d3eee0073fbeb69b9abe')

# optimization OK
diff --git a/source/network-extra/rtorrent/rtorrent-0.8.4-gcc44.patch 
b/source/network-extra/rtorrent/rtorrent-0.8.4-gcc44.patch
new file mode 100644
index 0000000..10dad5f
--- /dev/null
+++ b/source/network-extra/rtorrent/rtorrent-0.8.4-gcc44.patch
@@ -0,0 +1,105 @@
+diff -Nurp rtorrent-0.8.4.old/src/rpc/scgi_task.cc 
rtorrent-0.8.4/src/rpc/scgi_task.cc
+--- rtorrent-0.8.4.old/src/rpc/scgi_task.cc     2008-05-07 07:19:10.000000000 
-0500
++++ rtorrent-0.8.4/src/rpc/scgi_task.cc 2009-02-04 10:23:31.000000000 -0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <rak/error_number.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+
+
+diff -Nurp rtorrent-0.8.4.old/src/command_peer.cc 
rtorrent-0.8.4/src/command_peer.cc
+--- rtorrent-0.8.4.old/src/command_peer.cc      2008-05-07 07:19:11.000000000 
-0500
++++ rtorrent-0.8.4/src/command_peer.cc  2009-02-04 10:26:53.000000000 -0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <rak/error_number.h>
+ #include <rak/path.h>
+ #include <rak/socket_address.h>
+
+
+
+diff -Nurp rtorrent-0.8.4.old/src/display/utils.cc 
rtorrent-0.8.4/src/display/utils.cc
+--- rtorrent-0.8.4.old/src/display/utils.cc     2008-08-27 03:25:01.000000000 
-0500
++++ rtorrent-0.8.4/src/display/utils.cc 2009-02-04 10:20:34.000000000 -0600
+@@ -36,6 +36,7 @@
+
+ #include "config.h"
+
++#include <cstdio>
+ #include <cstring>
+ #include <sstream>
+ #include <iomanip>
+
+
+diff -Nurp rtorrent-0.8.4.old/src/rpc/parse.cc rtorrent-0.8.4/src/rpc/parse.cc
+--- rtorrent-0.8.4.old/src/rpc/parse.cc 2008-08-26 15:14:33.000000000 -0500
++++ rtorrent-0.8.4/src/rpc/parse.cc     2009-02-04 10:23:06.000000000 -0600
+@@ -37,6 +37,7 @@
+ #include "config.h"
+
+ #include <cstring>
++#include <cstdio>
+ #include <locale>
+ #include <rak/path.h>
+ #include <torrent/exceptions.h>
+
+ diff -Nurp rtorrent-0.8.4.old/src/utils/lockfile.cc 
rtorrent-0.8.4/src/utils/lockfile.cc
+--- rtorrent-0.8.4.old/src/utils/lockfile.cc    2008-05-07 07:19:11.000000000 
-0500
++++ rtorrent-0.8.4/src/utils/lockfile.cc        2009-02-04 10:25:10.000000000 
-0600
+@@ -40,6 +40,7 @@
+ #include <cctype>
+ #include <cerrno>
+ #include <cstring>
++#include <cstdio>
+ #include <sstream>
+ #include <fcntl.h>
+ #include <signal.h>
+
+diff -Nurp rtorrent-0.8.4.old/src/command_download.cc 
rtorrent-0.8.4/src/command_download.cc
+--- rtorrent-0.8.4.old/src/command_download.cc  2008-11-19 11:01:20.000000000 
-0600
++++ rtorrent-0.8.4/src/command_download.cc      2009-02-04 10:25:32.000000000 
-0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <functional>
+ #include <unistd.h>
+ #include <rak/file_stat.h>
+
+
+diff -Nurp rtorrent-0.8.4.old/src/command_events.cc 
rtorrent-0.8.4/src/command_events.cc
+--- rtorrent-0.8.4.old/src/command_events.cc    2008-11-11 04:37:20.000000000 
-0600
++++ rtorrent-0.8.4/src/command_events.cc        2009-02-04 10:25:58.000000000 
-0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <functional>
+ #include <rak/file_stat.h>
+ #include <rak/path.h>
+
+diff -Nurp rtorrent-0.8.4.old/src/command_network.cc 
rtorrent-0.8.4/src/command_network.cc
+--- rtorrent-0.8.4.old/src/command_network.cc   2008-08-27 03:25:01.000000000 
-0500
++++ rtorrent-0.8.4/src/command_network.cc       2009-02-04 10:26:22.000000000 
-0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <functional>
+ #include <rak/address_info.h>
+ #include <rak/path.h>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to