From: Hilko Bengen Date: Fri, 28 Aug 2020 16:00:22 +0000 (+0200) Subject: Change torrent so it can be built with libtorrent 1.2.5 X-Git-Tag: archive/raspbian/1.38.2-2+rpi1~2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a56c3ab38ad595d50e83c7d80ce915377ef6cbc2;p=nbdkit.git Change torrent so it can be built with libtorrent 1.2.5 Gbp-Pq: Name 0005-Change-torrent-so-it-can-be-built-with-libtorrent-1..patch --- diff --git a/plugins/torrent/torrent.cpp b/plugins/torrent/torrent.cpp index 9d109fc..ff8d44a 100644 --- a/plugins/torrent/torrent.cpp +++ b/plugins/torrent/torrent.cpp @@ -104,10 +104,10 @@ static struct setting settings[] = { static const size_t nr_settings = sizeof settings / sizeof settings[0]; static libtorrent::alert_category_t alerts = - libtorrent::alert_category::error - | libtorrent::alert_category::piece_progress - | libtorrent::alert_category::status - | libtorrent::alert_category::storage + libtorrent::alert::error_notification + | libtorrent::alert::piece_progress_notification + | libtorrent::alert::status_notification + | libtorrent::alert::storage_notification ; /* This condition is used to signal the plugin when a piece has been