aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/rtorrent
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-04-18 19:15:56 +0800
committerflz <flz@FreeBSD.org>2005-04-18 19:15:56 +0800
commit270aeb60fa08f5fb7ce65d999a992c05d7d1f613 (patch)
treeb7a94b1e82e108e98bce4312b7571657604a6ad1 /net-p2p/rtorrent
parentfe0cb99e466aec3430170a73fc054572be1960a6 (diff)
downloadfreebsd-ports-gnome-270aeb60fa08f5fb7ce65d999a992c05d7d1f613.tar.gz
freebsd-ports-gnome-270aeb60fa08f5fb7ce65d999a992c05d7d1f613.tar.zst
freebsd-ports-gnome-270aeb60fa08f5fb7ce65d999a992c05d7d1f613.zip
- Update to 0.2.0.
- Fix CFLAGS.
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r--net-p2p/rtorrent/Makefile4
-rw-r--r--net-p2p/rtorrent/distinfo4
-rw-r--r--net-p2p/rtorrent/files/patch-src_display_utils.cc11
-rw-r--r--net-p2p/rtorrent/files/patch-src_display_window__log.cc14
4 files changed, 4 insertions, 29 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index f5694fc30e87..46ea658112b4 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rtorrent
-PORTVERSION= 0.1.4
+PORTVERSION= 0.2.0
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@@ -27,7 +27,7 @@ PLIST_FILES= bin/rtorrent
PORTDOCS= README
post-patch:
- @${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
post-install:
${MKDIR} ${DOCSDIR}
diff --git a/net-p2p/rtorrent/distinfo b/net-p2p/rtorrent/distinfo
index d20ac39527a6..4d38d8d5db1e 100644
--- a/net-p2p/rtorrent/distinfo
+++ b/net-p2p/rtorrent/distinfo
@@ -1,2 +1,2 @@
-MD5 (rtorrent-0.1.4.tar.gz) = 4cc6c723a6c9df12b8d30ffcb3a196c3
-SIZE (rtorrent-0.1.4.tar.gz) = 172628
+MD5 (rtorrent-0.2.0.tar.gz) = 07c6456810a16afe15bf862864a11396
+SIZE (rtorrent-0.2.0.tar.gz) = 176008
diff --git a/net-p2p/rtorrent/files/patch-src_display_utils.cc b/net-p2p/rtorrent/files/patch-src_display_utils.cc
deleted file mode 100644
index 026964e131c7..000000000000
--- a/net-p2p/rtorrent/files/patch-src_display_utils.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/display/utils.cc.orig
-+++ src/display/utils.cc
-@@ -58,7 +58,7 @@
-
- std::string
- print_hhmmss(utils::Timer t) {
-- std::tm *u = std::localtime(&t.tval().tv_sec);
-+ std::tm *u = std::localtime((const time_t *)&t.tval().tv_sec);
-
- if (u == NULL)
- return "inv_time";
diff --git a/net-p2p/rtorrent/files/patch-src_display_window__log.cc b/net-p2p/rtorrent/files/patch-src_display_window__log.cc
deleted file mode 100644
index 106b68bca144..000000000000
--- a/net-p2p/rtorrent/files/patch-src_display_window__log.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$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);