Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtorrent-rasterbar for 
openSUSE:Factory checked in at 2022-10-08 01:23:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
 and      /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtorrent-rasterbar"

Sat Oct  8 01:23:20 2022 rev:85 rq:1008315 version:2.0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes    
    2022-07-18 18:34:22.449794757 +0200
+++ 
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.2275/libtorrent-rasterbar.changes
      2022-10-08 01:23:22.753975655 +0200
@@ -1,0 +2,6 @@
+Wed Oct  5 20:19:45 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add patch to fix the boost detection on Leap:
+  * 0001-Make-sure-boost-system-is-found-when-using-old-versi.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Make-sure-boost-system-is-found-when-using-old-versi.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.RTfKmM/_old  2022-10-08 01:23:23.853978178 +0200
+++ /var/tmp/diff_new_pack.RTfKmM/_new  2022-10-08 01:23:23.861978196 +0200
@@ -33,6 +33,8 @@
 Group:          Development/Libraries/C and C++
 URL:            https://libtorrent.org/
 Source:         %{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM -- Fix boost detection for Leap
+Patch0:         0001-Make-sure-boost-system-is-found-when-using-old-versi.patch
 BuildRequires:  cmake >= 3.12.0
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++

++++++ 0001-Make-sure-boost-system-is-found-when-using-old-versi.patch ++++++
>From 79eab66c7c4f681c3a9e693147a6c30adbe7ddb7 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Wed, 5 Oct 2022 22:13:48 +0200
Subject: [PATCH] Make sure boost-system is found when using old versions

When using older boost versions, boost-system is a 'PUBLIC' link target.
Make sure it's treated as a required build dependency.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5cb81ab..9fcb346 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -802,7 +802,7 @@ endif()
 find_public_dependency(Boost REQUIRED)
 target_link_libraries(torrent-rasterbar PUBLIC Boost::headers)
 if (Boost_MAJOR_VERSION LESS_EQUAL 1 AND Boost_MINOR_VERSION LESS 69)
-       find_package(Boost REQUIRED COMPONENTS system)
+       find_public_dependency(Boost REQUIRED COMPONENTS system)
        target_link_libraries(torrent-rasterbar PUBLIC Boost::system)
 endif()
 
-- 
2.37.3

Reply via email to