From f0d09fa12b26c579cd91b2840649e17b324d0c49 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Fri, 28 Aug 2020 18:00:22 +0200 Subject: [PATCH] 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 --- plugins/torrent/torrent.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2