Date: Sun, 7 Jan 2018 17:07:47 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458361 - in head/net-p2p/libktorrent: . files Message-ID: <201801071707.w07H7l6V059611@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sun Jan 7 17:07:47 2018 New Revision: 458361 URL: https://svnweb.freebsd.org/changeset/ports/458361 Log: net-p2p/libktorrent, fix with clang6 PR: 224945 Submitted by: rakuco Added: head/net-p2p/libktorrent/files/ head/net-p2p/libktorrent/files/patch-src_diskio_chunkmanager.cpp (contents, props changed) Modified: head/net-p2p/libktorrent/Makefile Modified: head/net-p2p/libktorrent/Makefile ============================================================================== --- head/net-p2p/libktorrent/Makefile Sun Jan 7 17:02:46 2018 (r458360) +++ head/net-p2p/libktorrent/Makefile Sun Jan 7 17:07:47 2018 (r458361) @@ -2,7 +2,7 @@ PORTNAME= libktorrent DISTVERSION= 1.3.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= net-p2p kde MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION:C,^1,4,:C,-.*,,}/ Added: head/net-p2p/libktorrent/files/patch-src_diskio_chunkmanager.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/libktorrent/files/patch-src_diskio_chunkmanager.cpp Sun Jan 7 17:07:47 2018 (r458361) @@ -0,0 +1,15 @@ +error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' + [-Wc++11-narrowing] + case -1: + +--- src/diskio/chunkmanager.cpp.orig 2018-01-07 15:40:05 UTC ++++ src/diskio/chunkmanager.cpp +@@ -528,7 +528,7 @@ namespace bt + tf.setPriority(EXCLUDED); + break; + case ONLY_SEED_PRIORITY: +- case -1: ++ case static_cast<Uint32>(-1): + tf.setPriority(ONLY_SEED_PRIORITY); + break; + default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801071707.w07H7l6V059611>