- Update to 0.1.4.

This commit is contained in:
Florent Thoumie 2005-03-20 14:40:06 +00:00
parent e0227725e3
commit 35b8f7806b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131725
8 changed files with 36 additions and 84 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rtorrent
PORTVERSION= 0.1.0
PORTVERSION= 0.1.4
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@ -19,7 +19,7 @@ LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl \
USE_GCC= 3.4
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
CONFIGURE_ARGS= --disable-debug
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_INC_LIBTOOL_VER= 13

View File

@ -1,2 +1,2 @@
MD5 (rtorrent-0.1.0.tar.gz) = 4617ff0076b27a2004a1fd2a3bf31d2d
SIZE (rtorrent-0.1.0.tar.gz) = 160077
MD5 (rtorrent-0.1.4.tar.gz) = 4cc6c723a6c9df12b8d30ffcb3a196c3
SIZE (rtorrent-0.1.4.tar.gz) = 172628

View File

@ -1,38 +0,0 @@
--- src/display/canvas.h.orig
+++ src/display/canvas.h
@@ -34,28 +34,28 @@
chtype tl, chtype tr,
chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }
- void print(int x, int y, const char* str) { mvwprintw(m_window, y, x, str); }
+ void print(int x, int y, char* str) { mvwprintw(m_window, y, x, str); }
template <typename A1>
- void print(int x, int y, const char* str, A1 a1) { mvwprintw(m_window, y, x, str, a1); }
+ void print(int x, int y, char* str, A1 a1) { mvwprintw(m_window, y, x, str, a1); }
template <typename A1, typename A2>
- void print(int x, int y, const char* str, A1 a1, A2 a2) { mvwprintw(m_window, y, x, str, a1, a2); }
+ void print(int x, int y, char* str, A1 a1, A2 a2) { mvwprintw(m_window, y, x, str, a1, a2); }
template <typename A1, typename A2, typename A3>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3) { mvwprintw(m_window, y, x, str, a1, a2, a3); }
template <typename A1, typename A2, typename A3, typename A4>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3, A4 a4) { mvwprintw(m_window, y, x, str, a1, a2, a3, a4); }
template <typename A1, typename A2, typename A3, typename A4, typename A5>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { mvwprintw(m_window, y, x, str, a1, a2, a3, a4, a5); }
template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) { mvwprintw(m_window, y, x, str, a1, a2, a3, a4, a5, a6); }
void set_attr(int x, int y, int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- src/display/window_log.cc.orig
+++ src/display/window_log.cc
@@ -69,7 +69,7 @@
void
WindowLog::receive_update() {
iterator itr = find_older();
- int h = std::min(std::distance(m_log->begin(), itr), 10);
+ int h = std::min(std::distance(m_log->begin(), itr), (ptrdiff_t) 10);
if (h != m_minHeight) {
set_active(h != 0);

View File

@ -6,7 +6,7 @@
#
PORTNAME= rtorrent
PORTVERSION= 0.1.0
PORTVERSION= 0.1.4
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@ -19,7 +19,7 @@ LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl \
USE_GCC= 3.4
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
CONFIGURE_ARGS= --disable-debug
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_INC_LIBTOOL_VER= 13

View File

@ -1,2 +1,2 @@
MD5 (rtorrent-0.1.0.tar.gz) = 4617ff0076b27a2004a1fd2a3bf31d2d
SIZE (rtorrent-0.1.0.tar.gz) = 160077
MD5 (rtorrent-0.1.4.tar.gz) = 4cc6c723a6c9df12b8d30ffcb3a196c3
SIZE (rtorrent-0.1.4.tar.gz) = 172628

View File

@ -1,38 +0,0 @@
--- src/display/canvas.h.orig
+++ src/display/canvas.h
@@ -34,28 +34,28 @@
chtype tl, chtype tr,
chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }
- void print(int x, int y, const char* str) { mvwprintw(m_window, y, x, str); }
+ void print(int x, int y, char* str) { mvwprintw(m_window, y, x, str); }
template <typename A1>
- void print(int x, int y, const char* str, A1 a1) { mvwprintw(m_window, y, x, str, a1); }
+ void print(int x, int y, char* str, A1 a1) { mvwprintw(m_window, y, x, str, a1); }
template <typename A1, typename A2>
- void print(int x, int y, const char* str, A1 a1, A2 a2) { mvwprintw(m_window, y, x, str, a1, a2); }
+ void print(int x, int y, char* str, A1 a1, A2 a2) { mvwprintw(m_window, y, x, str, a1, a2); }
template <typename A1, typename A2, typename A3>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3) { mvwprintw(m_window, y, x, str, a1, a2, a3); }
template <typename A1, typename A2, typename A3, typename A4>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3, A4 a4) { mvwprintw(m_window, y, x, str, a1, a2, a3, a4); }
template <typename A1, typename A2, typename A3, typename A4, typename A5>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { mvwprintw(m_window, y, x, str, a1, a2, a3, a4, a5); }
template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6>
- void print(int x, int y, const char* str,
+ void print(int x, int y, char* str,
A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) { mvwprintw(m_window, y, x, str, a1, a2, a3, a4, a5, a6); }
void set_attr(int x, int y, int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- src/display/window_log.cc.orig
+++ src/display/window_log.cc
@@ -69,7 +69,7 @@
void
WindowLog::receive_update() {
iterator itr = find_older();
- int h = std::min(std::distance(m_log->begin(), itr), 10);
+ int h = std::min(std::distance(m_log->begin(), itr), (ptrdiff_t) 10);
if (h != m_minHeight) {
set_active(h != 0);