downgrade libtorrent and rtorrent; rtorrent crashes only solution was to use stable...
[packages.git] / net / rtorrent / patches / 120-fix-ncurses.patch
index 0994b05..e460927 100644 (file)
@@ -1,13 +1,13 @@
-Index: rtorrent-0.8.6_r1209/src/display/canvas.h
+Index: rtorrent-0.8.6/src/display/canvas.h
 ===================================================================
---- rtorrent-0.8.6_r1209.orig/src/display/canvas.h     2011-04-13 17:29:03.218889497 +0200
-+++ rtorrent-0.8.6_r1209/src/display/canvas.h  2011-04-13 17:29:22.814923068 +0200
-@@ -48,7 +48,7 @@
+--- rtorrent-0.8.6.orig/src/display/canvas.h
++++ rtorrent-0.8.6/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);
+-  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); }
  
-   void                refresh()                                               { wnoutrefresh(m_window); }