summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2011-03-15 11:41:22 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2011-03-15 11:41:22 +0200
commit3b4b745176421e6d3b46867e68070333153c506f (patch)
tree7756539da6226e1135ffee59f512d5436599e948
parent690b39273becbba006dc4b9eb1226b21a4870ff6 (diff)
new file: net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
modified: net-p2p/rtorrent/rtorrent-9999.ebuild
-rw-r--r--net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch10
-rw-r--r--net-p2p/rtorrent/rtorrent-9999.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch b/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
new file mode 100644
index 0000000..b9a09d4
--- /dev/null
+++ b/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
@@ -0,0 +1,10 @@
+--- rtorrent-0.8.7/src/display/canvas.h 2011-03-01 14:56:25.000000000 +0800
++++ rtorrent-0.8.7/src/display/canvas.h 2011-03-01 14:56:10.000000000 +0800
+@@ -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); }
diff --git a/net-p2p/rtorrent/rtorrent-9999.ebuild b/net-p2p/rtorrent/rtorrent-9999.ebuild
index bf64a3e..babcb59 100644
--- a/net-p2p/rtorrent/rtorrent-9999.ebuild
+++ b/net-p2p/rtorrent/rtorrent-9999.ebuild
@@ -40,6 +40,7 @@ src_compile() {
if [[ $(tc-arch) = "x86" ]]; then
filter-flags -fomit-frame-pointer -fforce-addr
fi
+ epatch ${FILESDIR}/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
econf $(use_enable debug) \
$(use_enable ipv6) \