Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libLASi for openSUSE:Factory checked 
in at 2021-06-05 23:31:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libLASi (Old)
 and      /work/SRC/openSUSE:Factory/.libLASi.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libLASi"

Sat Jun  5 23:31:33 2021 rev:11 rq:897589 version:1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libLASi/libLASi.changes  2019-12-04 
14:20:00.306419170 +0100
+++ /work/SRC/openSUSE:Factory/.libLASi.new.1898/libLASi.changes        
2021-06-05 23:32:08.760502017 +0200
@@ -1,0 +2,7 @@
+Tue Jun  1 08:30:05 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add GCC 11 build fix:
+  * 0001-Fix-build-with-GCC-11.patch
+    [https://sourceforge.net/p/lasi/bugs/9/]
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-with-GCC-11.patch

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

Other differences:
------------------
++++++ libLASi.spec ++++++
--- /var/tmp/diff_new_pack.DYR7mH/_old  2021-06-05 23:32:09.172502733 +0200
+++ /var/tmp/diff_new_pack.DYR7mH/_new  2021-06-05 23:32:09.176502741 +0200
@@ -29,6 +29,8 @@
 Patch0:         libLASi-link_gobject2.patch
 # PATCH-FEATURE-OPENSUSE libLASi-do_not_build_examples.patch
 Patch1:         libLASi-do_not_build_examples.patch
+# PATCH-FIX-UPSTREAM 0001-Fix-build-with-GCC-11.patch christo...@krop.fr -- 
Fix build with GCC 11 [https://sourceforge.net/p/lasi/bugs/9/]
+Patch2:         0001-Fix-build-with-GCC-11.patch
 BuildRequires:  cmake >= 3.13.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -102,9 +104,7 @@
 %{name}.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1
 
 %build
 %cmake \

++++++ 0001-Fix-build-with-GCC-11.patch ++++++
>From 75d1d700ecfb1627eb61722d4de31fbf4f97347e Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Tue, 1 Jun 2021 10:29:37 +0200
Subject: [PATCH] Fix build with GCC 11

Dynamic exception specification are deprecated in C++11 and were removed
in C++17.
---
 src/util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util.h b/src/util.h
index 8e728de..6e6f8b3 100644
--- a/src/util.h
+++ b/src/util.h
@@ -27,7 +27,7 @@ std::ostream& operator<<(std::ostream&, const FT_Outline);
 
 /** Converts a freetype return code into an exception.
  */
-inline void evalReturnCode(const int errCode, const char* funcName) throw 
(std::runtime_error) {
+inline void evalReturnCode(const int errCode, const char* funcName) {
   if (errCode)
     throw std::runtime_error(std::string("Error returned from ") + funcName);
 }
-- 
2.31.1

Reply via email to