summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2011-03-28 10:52:45 +0000
committerAlex Alexander <wired@gentoo.org>2011-03-28 10:52:45 +0000
commita83eb3a0fcbceb0a78148bb0ec1484897dca2098 (patch)
tree726593e739b647ead39b6b2ac3638c2f9cbf228d /net-p2p/rtorrent/files
parentmailwrapper USE flag is gone. Remove if use mailwrapper..fi construct from e... (diff)
downloadgentoo-2-a83eb3a0fcbceb0a78148bb0ec1484897dca2098.tar.gz
gentoo-2-a83eb3a0fcbceb0a78148bb0ec1484897dca2098.tar.bz2
gentoo-2-a83eb3a0fcbceb0a78148bb0ec1484897dca2098.zip
fixed bug #358271
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/rtorrent/files')
-rw-r--r--net-p2p/rtorrent/files/rtorrent-0.8.6-ncurses.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/rtorrent-0.8.6-ncurses.patch b/net-p2p/rtorrent/files/rtorrent-0.8.6-ncurses.patch
new file mode 100644
index 000000000000..0dabca3c88b8
--- /dev/null
+++ b/net-p2p/rtorrent/files/rtorrent-0.8.6-ncurses.patch
@@ -0,0 +1,16 @@
+rtorrent segfaults with latest ncurses (5.8).
+this patch fixes the issue.
+
+https://bugs.gentoo.org/show_bug.cgi?id=358271
+https://bugzilla.redhat.com/show_bug.cgi?id=682454
+http://libtorrent.rakshasa.no/ticket/2518
+--- src/display/canvas.h
++++ src/display/canvas.h
+@@ -48,7 +48,7 @@ class Canvas {
+ public:
+ typedef std::vector<Attributes> attributes_list;
+
+- Canvas(int x = 0, int y = 0, int width = 0, int height = 0) :
++ Canvas(int x = 0, int y = 0, int width = 1, int height = 1) :
+ m_window(newwin(height, width, y, x)) {}
+ ~Canvas() { delwin(m_window); }