From eff329691aa4828674f209bd37f324dff772a232 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 18 May 2009 09:14:17 +0000 Subject: [PATCH] [package] add gcc-4.4.0 fixes from #5118 SVN-Revision: 15908 --- net/rtorrent/Makefile | 5 +- .../patches/100-fix-includes-for-gcc44.patch | 88 +++++++++++++++++++ 2 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 net/rtorrent/patches/100-fix-includes-for-gcc44.patch diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile index 2fca592408..4a7714bed7 100644 --- a/net/rtorrent/Makefile +++ b/net/rtorrent/Makefile @@ -11,7 +11,7 @@ PKG_NAME:=rtorrent PKG_REV:=1087 PKG_VERSION:=0.8.4_r$(PKG_REV) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=svn://rakshasa.no/libtorrent/trunk/rtorrent PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) @@ -28,7 +28,7 @@ define Package/rtorrent CATEGORY:=Network TITLE:=BitTorrent client for ncurses URL:=http://libtorrent.rakshasa.no/ - DEPENDS:=+libcurl +libtorrent +libncurses +libsigcxx +xmlrpc-c + DEPENDS:=+libcurl +libtorrent +libncurses +xmlrpc-c endef define Package/rtorrent/description @@ -45,6 +45,7 @@ CONFIGURE_ARGS+= \ --enable-shared \ --disable-static \ --disable-debug \ + --disable-tls \ --with-xmlrpc-c \ define Build/Configure diff --git a/net/rtorrent/patches/100-fix-includes-for-gcc44.patch b/net/rtorrent/patches/100-fix-includes-for-gcc44.patch new file mode 100644 index 0000000000..4a7d8631f8 --- /dev/null +++ b/net/rtorrent/patches/100-fix-includes-for-gcc44.patch @@ -0,0 +1,88 @@ +diff -urN rtorrent-0.8.4.orig/src/command_download.cc rtorrent-0.8.4/src/command_download.cc +--- rtorrent-0.8.4.orig/src/command_download.cc 2009-05-01 11:44:18.928024917 +0000 ++++ rtorrent-0.8.4/src/command_download.cc 2009-05-01 11:52:00.204784723 +0000 +@@ -38,6 +38,7 @@ + + #include + #include ++#include + #include + #include + #include +diff -urN rtorrent-0.8.4.orig/src/command_events.cc rtorrent-0.8.4/src/command_events.cc +--- rtorrent-0.8.4.orig/src/command_events.cc 2009-05-01 11:44:18.956025193 +0000 ++++ rtorrent-0.8.4/src/command_events.cc 2009-05-01 11:52:53.176878174 +0000 +@@ -37,6 +37,7 @@ + #include "config.h" + + #include ++#include + #include + #include + #include +diff -urN rtorrent-0.8.4.orig/src/command_network.cc rtorrent-0.8.4/src/command_network.cc +--- rtorrent-0.8.4.orig/src/command_network.cc 2009-05-01 11:44:18.954025149 +0000 ++++ rtorrent-0.8.4/src/command_network.cc 2009-05-01 11:53:38.894790846 +0000 +@@ -37,6 +37,7 @@ + #include "config.h" + + #include ++#include + #include + #include + #include +diff -urN rtorrent-0.8.4.orig/src/display/utils.cc rtorrent-0.8.4/src/display/utils.cc +--- rtorrent-0.8.4.orig/src/display/utils.cc 2009-05-01 11:44:18.958025168 +0000 ++++ rtorrent-0.8.4/src/display/utils.cc 2009-05-01 11:46:00.280024662 +0000 +@@ -37,6 +37,7 @@ + #include "config.h" + + #include ++#include + #include + #include + #include +diff -urN rtorrent-0.8.4.orig/src/display/utils.h rtorrent-0.8.4/src/display/utils.h +--- rtorrent-0.8.4.orig/src/display/utils.h 2009-05-01 11:44:18.958025168 +0000 ++++ rtorrent-0.8.4/src/display/utils.h 2009-05-01 11:54:46.317784833 +0000 +@@ -38,6 +38,7 @@ + #define RTORRENT_DISPLAY_UTILS_H + + #include ++#include + #include + + namespace core { +diff -urN rtorrent-0.8.4.orig/src/rpc/parse.cc rtorrent-0.8.4/src/rpc/parse.cc +--- rtorrent-0.8.4.orig/src/rpc/parse.cc 2009-05-01 11:44:18.955025625 +0000 ++++ rtorrent-0.8.4/src/rpc/parse.cc 2009-05-01 11:48:42.406775254 +0000 +@@ -37,6 +37,7 @@ + #include "config.h" + + #include ++#include + #include + #include + #include +diff -urN rtorrent-0.8.4.orig/src/rpc/scgi_task.cc rtorrent-0.8.4/src/rpc/scgi_task.cc +--- rtorrent-0.8.4.orig/src/rpc/scgi_task.cc 2009-05-01 11:44:18.955025625 +0000 ++++ rtorrent-0.8.4/src/rpc/scgi_task.cc 2009-05-01 11:49:52.988070476 +0000 +@@ -37,6 +37,7 @@ + #include "config.h" + + #include ++#include + #include + #include + #include +diff -urN rtorrent-0.8.4.orig/src/utils/lockfile.cc rtorrent-0.8.4/src/utils/lockfile.cc +--- rtorrent-0.8.4.orig/src/utils/lockfile.cc 2009-05-01 11:44:18.956025193 +0000 ++++ rtorrent-0.8.4/src/utils/lockfile.cc 2009-05-01 11:50:57.780779606 +0000 +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- 2.30.2