Received: by mail.netbsd.org (Postfix, from userid 605) id 7D4ED84D65; Thu, 14 May 2020 19:14:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0712384D2A for ; Thu, 14 May 2020 19:14:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id jG3wQChv3pNe for ; Thu, 14 May 2020 19:14:16 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7D18F84CF1 for ; Thu, 14 May 2020 19:14:16 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 76533FB27; Thu, 14 May 2020 19:14:16 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1589483656237940" MIME-Version: 1.0 Date: Thu, 14 May 2020 19:14:16 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: pkgsrc/net/libktorrent To: pkgsrc-changes@NetBSD.org Reply-To: joerg@netbsd.org X-Mailer: log_accum Message-Id: <20200514191416.76533FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1589483656237940 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: joerg Date: Thu May 14 19:14:16 UTC 2020 Modified Files: pkgsrc/net/libktorrent: distinfo Added Files: pkgsrc/net/libktorrent/patches: patch-src_diskio_chunkmanager.cpp Log Message: Drop branches that can't happen with the type constraints To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/libktorrent/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1589483656237940 Content-Disposition: inline Content-Length: 2025 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/libktorrent/distinfo diff -u pkgsrc/net/libktorrent/distinfo:1.4 pkgsrc/net/libktorrent/distinfo:1.5 --- pkgsrc/net/libktorrent/distinfo:1.4 Wed Nov 4 00:35:09 2015 +++ pkgsrc/net/libktorrent/distinfo Thu May 14 19:14:16 2020 @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.4 2015/11/04 00:35:09 agc Exp $ +$NetBSD: distinfo,v 1.5 2020/05/14 19:14:16 joerg Exp $ SHA1 (libktorrent-1.3.1.tar.bz2) = 71b377c0cad01dca6061f1fe92f91c4cf05476b3 RMD160 (libktorrent-1.3.1.tar.bz2) = 1fba9d388868345f623d30dd8d7f5bc2c7c68b4b SHA512 (libktorrent-1.3.1.tar.bz2) = 63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b Size (libktorrent-1.3.1.tar.bz2) = 863105 bytes SHA1 (patch-examples_ktcli_main.cpp) = 6ed9db8aa7701402d8784cb5209be9b433dc9680 +SHA1 (patch-src_diskio_chunkmanager.cpp) = 39e20760275ecd21d5769fc48200a6d317c5073f SHA1 (patch-src_net_address.h) = 0689a5efc34062868ffb6e0ebbfe3b00ffdc8c20 SHA1 (patch-src_utp_connection.h) = c9a8f549fe053f6ebe31a2c0d620898f9b12b20e SHA1 (patch-src_utp_delaywindow.h) = 34854d352993b42836726d3db326661aa78c4aa7 Added files: Index: pkgsrc/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp diff -u /dev/null pkgsrc/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp:1.1 --- /dev/null Thu May 14 19:14:16 2020 +++ pkgsrc/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp Thu May 14 19:14:16 2020 @@ -0,0 +1,17 @@ +$NetBSD: patch-src_diskio_chunkmanager.cpp,v 1.1 2020/05/14 19:14:16 joerg Exp $ + +Can't match when switching over an unsigned variable. + +--- src/diskio/chunkmanager.cpp.orig 2020-05-12 13:42:42.467062945 +0000 ++++ src/diskio/chunkmanager.cpp +@@ -527,10 +527,6 @@ namespace bt + //tf.setDoNotDownload(true); + tf.setPriority(EXCLUDED); + break; +- case ONLY_SEED_PRIORITY: +- case -1: +- tf.setPriority(ONLY_SEED_PRIORITY); +- break; + default: + tf.setPriority(LAST_PRIORITY); + break; --_----------=_1589483656237940--