From 270aeb60fa08f5fb7ce65d999a992c05d7d1f613 Mon Sep 17 00:00:00 2001 From: flz Date: Mon, 18 Apr 2005 11:15:56 +0000 Subject: - Update to 0.2.0. - Fix CFLAGS. --- net-p2p/rtorrent/Makefile | 4 ++-- net-p2p/rtorrent/distinfo | 4 ++-- net-p2p/rtorrent/files/patch-src_display_utils.cc | 11 ----------- net-p2p/rtorrent/files/patch-src_display_window__log.cc | 14 -------------- 4 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 net-p2p/rtorrent/files/patch-src_display_utils.cc delete mode 100644 net-p2p/rtorrent/files/patch-src_display_window__log.cc (limited to 'net-p2p/rtorrent') 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); -- cgit