Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package liblastfm-qt5 for openSUSE:Factory 
checked in at 2021-02-15 23:11:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liblastfm-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.liblastfm-qt5.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liblastfm-qt5"

Mon Feb 15 23:11:44 2021 rev:5 rq:871031 version:1.0.9+20150206

Changes:
--------
--- /work/SRC/openSUSE:Factory/liblastfm-qt5/liblastfm-qt5.changes      
2018-05-29 10:43:50.854866925 +0200
+++ /work/SRC/openSUSE:Factory/.liblastfm-qt5.new.28504/liblastfm-qt5.changes   
2021-02-15 23:13:14.359121499 +0100
@@ -1,0 +2,6 @@
+Tue Feb  9 10:19:29 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add patch to fix build with GCC 11 (boo#1181870):
+  * 0001-Stick-to-c-14-for-liblastfm.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Stick-to-c-14-for-liblastfm.patch

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

Other differences:
------------------
++++++ liblastfm-qt5.spec ++++++
--- /var/tmp/diff_new_pack.XTh2WK/_old  2021-02-15 23:13:14.999122455 +0100
+++ /var/tmp/diff_new_pack.XTh2WK/_new  2021-02-15 23:13:15.007122467 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package liblastfm-qt5
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,10 +25,12 @@
 URL:            https://github.com/lastfm/liblastfm/
 Source:         liblastfm-%{version}.tar.gz
 Source1:        baselibs.conf
-#PATCH-FIX-UPSTREAM
+# PATCH-FIX-UPSTREAM
 Patch0:         0001-Make-Qt5-build-default-and-simplify-logic-add-missin.patch
-#PATCH-FIX-UPSTREAM
+# PATCH-FIX-UPSTREAM
 Patch1:         0004-Fix-build-with-Qt-5.11_beta3-drop-qt5_use_modules.patch
+# PATCH-FIX-UPSTREAM
+Patch2:         0001-Stick-to-c-14-for-liblastfm.patch
 BuildRequires:  cmake
 BuildRequires:  fftw3-devel
 BuildRequires:  libsamplerate-devel
@@ -89,7 +91,7 @@
   -DBUILD_WITH_QT4=OFF \
   -DBUILD_TESTS=OFF \
   -DCMAKE_BUILD_TYPE=RelWithDebInfo
-make %{?_smp_mflags}
+%cmake_build
 
 %install
 %cmake_install

++++++ 0001-Stick-to-c-14-for-liblastfm.patch ++++++
>From a739805b7b5ce0eaa2e29aa36c23074195a43f74 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Tue, 9 Feb 2021 11:13:07 +0100
Subject: [PATCH] Stick to c++14 for liblastfm

The project is dead upstream, changing code to fix
build with GCC 11 may cause other issues.
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71e3563..7e881e0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,8 @@ option(BUILD_FINGERPRINT "Build the lastfm-fingerprint 
library" ON)
 option(BUILD_DEMOS "Build the lastfm example programs" OFF)
 option(BUILD_TESTS "Build liblastfm tests" ON)
 
+set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 # installation dirs
 include(GNUInstallDirs)
-- 
2.30.0

Reply via email to