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

commit 80467f0a2466f00e7e1bcffd8d7582df84b6dc0f
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Jun 2 16:27:03 2009 +0200

libtorrent-0.12.4-2-i686

- add libtorrent-0.12.4-gcc44.patch

diff --git a/source/lib-extra/libtorrent/FrugalBuild 
b/source/lib-extra/libtorrent/FrugalBuild
index e4f8754..bfb85b9 100644
--- a/source/lib-extra/libtorrent/FrugalBuild
+++ b/source/lib-extra/libtorrent/FrugalBuild
@@ -3,15 +3,17 @@

pkgname=libtorrent
pkgver=0.12.4
-pkgrel=1
+pkgrel=2
pkgdesc="LibTorrent is a BitTorrent library written in C++ for *nix, with a 
focus on high performance and good code."
url="http://libtorrent.rakshasa.no/";
depends=('openssl' 'libsigc++2')
groups=('lib-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url |grep libtorrent.*.tar |sed -ne 
's/.*t-\(.*\).t.*/\1/;1p'"
-source=(http://libtorrent.rakshasa.no/downloads/libtorrent-$pkgver.tar.gz)
+source=(http://libtorrent.rakshasa.no/downloads/libtorrent-$pkgver.tar.gz \
+       libtorrent-0.12.4-gcc44.patch)
Fconfopts="$Fconfopts --enable-static"
-sha1sums=('6deab3f6af5e9566c987131d586751c7dc3b5dbb')
+sha1sums=('6deab3f6af5e9566c987131d586751c7dc3b5dbb' \
+          '5b88d2a4c32fb641cdb79ce63cd11cec5e975883')

# optimization OK
diff --git a/source/lib-extra/libtorrent/libtorrent-0.12.4-gcc44.patch 
b/source/lib-extra/libtorrent/libtorrent-0.12.4-gcc44.patch
new file mode 100644
index 0000000..a7cbe32
--- /dev/null
+++ b/source/lib-extra/libtorrent/libtorrent-0.12.4-gcc44.patch
@@ -0,0 +1,49 @@
+diff -Nurp libtorrent-0.12.4.old/src/torrent/poll_epoll.cc 
libtorrent-0.12.4/src/torrent/poll_epoll.cc
+--- libtorrent-0.12.4.old/src/torrent/poll_epoll.cc     2008-10-28 
06:49:47.000000000 -0500
++++ libtorrent-0.12.4/src/torrent/poll_epoll.cc 2009-02-04 09:45:22.000000000 
-0600
+@@ -37,6 +37,7 @@
+ #include "config.h"
+
+ #include <cerrno>
++#include <cstdio>
+ #include <cstring>
+
+ #include <unistd.h>
+
+
+diff -Nurp libtorrent-0.12.4.old/src/protocol/extensions.cc 
libtorrent-0.12.4/src/protocol/extensions.cc
+--- libtorrent-0.12.4.old/src/protocol/extensions.cc    2008-08-26 
15:15:15.000000000 -0500
++++ libtorrent-0.12.4/src/protocol/extensions.cc        2009-02-04 
09:47:07.000000000 -0600
+@@ -36,6 +36,7 @@
+
+ #include "config.h"
+
++#include <cstdio>
+ #include <limits>
+ #include <sstream>
+
+diff -Nurp libtorrent-0.12.4.old/src/tracker/tracker_dht.cc 
libtorrent-0.12.4/src/tracker/tracker_dht.cc
+--- libtorrent-0.12.4.old/src/tracker/tracker_dht.cc    2008-08-26 
15:18:34.000000000 -0500
++++ libtorrent-0.12.4/src/tracker/tracker_dht.cc        2009-02-04 
09:48:49.000000000 -0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <sstream>
+
+ #include "dht/dht_router.h"
+
+diff -Nurp libtorrent-0.12.4.old/src/tracker/tracker_udp.cc  
libtorrent-0.12.4/src/tracker/tracker_udp.cc
+--- libtorrent-0.12.4.old/src/tracker/tracker_udp.cc    2008-05-07 
07:19:13.000000000 -0500
++++ libtorrent-0.12.4/src/tracker/tracker_udp.cc        2009-02-04 
09:49:24.000000000 -0600
+@@ -36,6 +36,8 @@
+
+ #include "config.h"
+
++#include <cstdio>
++
+ #include <sigc++/adaptors/bind.h>
+ #include <torrent/connection_manager.h>
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to