Thu May 14 19:14:16 2020 UTC ()
Drop branches that can't happen with the type constraints


(joerg)
diff -r1.4 -r1.5 pkgsrc/net/libktorrent/distinfo
diff -r0 -r1.1 pkgsrc/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp

cvs diff -r1.4 -r1.5 pkgsrc/net/libktorrent/distinfo (expand / switch to unified diff)

--- pkgsrc/net/libktorrent/distinfo 2015/11/04 00:35:09 1.4
+++ pkgsrc/net/libktorrent/distinfo 2020/05/14 19:14:16 1.5
@@ -1,10 +1,11 @@ @@ -1,10 +1,11 @@
1$NetBSD: distinfo,v 1.4 2015/11/04 00:35:09 agc Exp $ 1$NetBSD: distinfo,v 1.5 2020/05/14 19:14:16 joerg Exp $
2 2
3SHA1 (libktorrent-1.3.1.tar.bz2) = 71b377c0cad01dca6061f1fe92f91c4cf05476b3 3SHA1 (libktorrent-1.3.1.tar.bz2) = 71b377c0cad01dca6061f1fe92f91c4cf05476b3
4RMD160 (libktorrent-1.3.1.tar.bz2) = 1fba9d388868345f623d30dd8d7f5bc2c7c68b4b 4RMD160 (libktorrent-1.3.1.tar.bz2) = 1fba9d388868345f623d30dd8d7f5bc2c7c68b4b
5SHA512 (libktorrent-1.3.1.tar.bz2) = 63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b 5SHA512 (libktorrent-1.3.1.tar.bz2) = 63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b
6Size (libktorrent-1.3.1.tar.bz2) = 863105 bytes 6Size (libktorrent-1.3.1.tar.bz2) = 863105 bytes
7SHA1 (patch-examples_ktcli_main.cpp) = 6ed9db8aa7701402d8784cb5209be9b433dc9680 7SHA1 (patch-examples_ktcli_main.cpp) = 6ed9db8aa7701402d8784cb5209be9b433dc9680
 8SHA1 (patch-src_diskio_chunkmanager.cpp) = 39e20760275ecd21d5769fc48200a6d317c5073f
8SHA1 (patch-src_net_address.h) = 0689a5efc34062868ffb6e0ebbfe3b00ffdc8c20 9SHA1 (patch-src_net_address.h) = 0689a5efc34062868ffb6e0ebbfe3b00ffdc8c20
9SHA1 (patch-src_utp_connection.h) = c9a8f549fe053f6ebe31a2c0d620898f9b12b20e 10SHA1 (patch-src_utp_connection.h) = c9a8f549fe053f6ebe31a2c0d620898f9b12b20e
10SHA1 (patch-src_utp_delaywindow.h) = 34854d352993b42836726d3db326661aa78c4aa7 11SHA1 (patch-src_utp_delaywindow.h) = 34854d352993b42836726d3db326661aa78c4aa7

File Added: pkgsrc/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp
$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;