From owner-svn-ports-head@freebsd.org Sun Jan 7 17:07:48 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E88BAE766AF; Sun, 7 Jan 2018 17:07:48 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3CD86E8C8; Sun, 7 Jan 2018 17:07:48 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA58923F5B; Sun, 7 Jan 2018 17:07:47 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w07H7lov059613; Sun, 7 Jan 2018 17:07:47 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w07H7l6V059611; Sun, 7 Jan 2018 17:07:47 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201801071707.w07H7l6V059611@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sun, 7 Jan 2018 17:07:47 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/net-p2p/libktorrent: . files X-SVN-Commit-Revision: 458361 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 17:07:49 -0000 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(-1): + tf.setPriority(ONLY_SEED_PRIORITY); + break; + default: