Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  9 Apr 2011 13:40:25 +0200 (CEST)
From:      freebsd@nagilum.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Florent Thoumie <flz@FreeBSD.org>
Subject:   ports/156294: rtorrent 0.8.7 error
Message-ID:  <20110409114025.E835E67834@cakebox.homeunix.net>
Resent-Message-ID: <201104091200.p39C0Or5084925@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156294
>Category:       ports
>Synopsis:       rtorrent 0.8.7 error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 09 12:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cakebox.tis 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Mar 9 12:21:06 CET 2011 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386


>Description:
	rtorrent will currently not run without this patch
>How-To-Repeat:
	build net/p2p/rtorrent-0.8.7
>Fix:

	apply this patch,
	obtained from http://libtorrent.rakshasa.no/attachment/ticket/2518/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch

--- rtorrent.patch begins here ---
diff -Naur rtorrent.orig/files/patch-src__display__canvas.h rtorrent/files/patch-src__display__canvas.h
--- rtorrent.orig/files/patch-src__display__canvas.h	1970-01-01 01:00:00.000000000 +0100
+++ rtorrent/files/patch-src__display__canvas.h	2011-04-09 13:22:27.000000000 +0200
@@ -0,0 +1,11 @@
+--- src/display/canvas.h.orig	2010-06-26 14:05:07.000000000 +0200
++++ src/display/canvas.h	2011-04-09 11:21:30.000000000 +0200
+@@ -48,7 +48,7 @@
+ 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); }
+ 
--- rtorrent.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110409114025.E835E67834>