diff options
author | joerg <joerg@pkgsrc.org> | 2020-05-14 19:14:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-05-14 19:14:16 +0000 |
commit | dde0156d9234028b0b2ddb1b806b5a8ccf4c79dc (patch) | |
tree | e7179a049ee365e824d0db5d826d484449c0a207 /net | |
parent | 3790c0d9e044eb0b68db1e4d9cc656b8655c66d7 (diff) | |
download | pkgsrc-dde0156d9234028b0b2ddb1b806b5a8ccf4c79dc.tar.gz |
Drop branches that can't happen with the type constraints
Diffstat (limited to 'net')
-rw-r--r-- | net/libktorrent/distinfo | 3 | ||||
-rw-r--r-- | net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/net/libktorrent/distinfo b/net/libktorrent/distinfo index abe28bc1d58..b8eff644066 100644 --- a/net/libktorrent/distinfo +++ b/net/libktorrent/distinfo @@ -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 diff --git a/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp b/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp new file mode 100644 index 00000000000..c2eca1330f8 --- /dev/null +++ b/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp @@ -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; |