Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2012 18:52:04 GMT
From:      Veniamin Gvozdikov <g.veniamin@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163968: [update]: net-p2p/libtorrent-rasterbar-15 fix stroll function
Message-ID:  <201201091852.q09Iq4fb011415@red.freebsd.org>
Resent-Message-ID: <201201091900.q09J0PPj081311@freefall.freebsd.org>

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

>Number:         163968
>Category:       ports
>Synopsis:       [update]: net-p2p/libtorrent-rasterbar-15 fix stroll function
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 09 19:00:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Veniamin Gvozdikov
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD  8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219081M: Wed Mar  2 08:23:31 CET 2011     root@www4:/usr/obj/i386/usr/src/sys/GENERIC  i386
>Description:
Fix function, cannot build software which's depended by is lib.
>How-To-Repeat:

>Fix:
diff -ruN libtorrent-rasterbar-15.orig/Makefile libtorrent-rasterbar-15/Makefile
--- libtorrent-rasterbar-15.orig/Makefile	2012-01-09 18:48:18.127190193 +0000
+++ libtorrent-rasterbar-15/Makefile	2012-01-07 22:03:27.571653895 +0000
@@ -7,13 +7,15 @@
 
 PORTNAME=	libtorrent-rasterbar
 PORTVERSION=	0.15.8
+PORTREVISION=	1
 CATEGORIES?=	net-p2p ipv6
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
-PROJECTHOST=	libtorrent
 
 MAINTAINER=	dougb@FreeBSD.org
 COMMENT?=	A C++ library implementing a BitTorrent client
 
+PROJECTHOST=	libtorrent
+
 MAKE_JOBS_SAFE=	yes
 
 CONFLICTS+=	libtorrent-rasterbar-0.1[46789].*
diff -ruN libtorrent-rasterbar-15.orig/files/patch-include-libtorrent-bencode.hpp libtorrent-rasterbar-15/files/patch-include-libtorrent-bencode.hpp
--- libtorrent-rasterbar-15.orig/files/patch-include-libtorrent-bencode.hpp	1970-01-01 00:00:00.000000000 +0000
+++ libtorrent-rasterbar-15/files/patch-include-libtorrent-bencode.hpp	2012-01-07 22:03:27.571653895 +0000
@@ -0,0 +1,11 @@
+--- include/libtorrent/bencode.hpp.orig	2012-01-07 17:05:08.261564764 +0000
++++ include/libtorrent/bencode.hpp	2012-01-07 17:06:33.993529022 +0000
+@@ -248,6 +248,8 @@
+ 				char* end_pointer;
+ #if defined TORRENT_WINDOWS && !defined TORRENT_MINGW
+ 				ret.integer() = _strtoi64(val.c_str(), &end_pointer, 10);
++#elif defined __FreeBSD__
++				ret.integer() = strtol(val.c_str(), &end_pointer, 10);
+ #else
+ 				ret.integer() = strtoll(val.c_str(), &end_pointer, 10);
+ #endif

>Release-Note:
>Audit-Trail:
>Unformatted:



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