Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package soci for openSUSE:Factory checked in 
at 2021-09-27 20:08:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/soci (Old)
 and      /work/SRC/openSUSE:Factory/.soci.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "soci"

Mon Sep 27 20:08:50 2021 rev:4 rq:921544 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/soci/soci.changes        2021-08-31 
19:56:49.914049990 +0200
+++ /work/SRC/openSUSE:Factory/.soci.new.1899/soci.changes      2021-09-27 
20:09:07.390476314 +0200
@@ -1,0 +2,5 @@
+Sun Sep 26 19:39:54 UTC 2021 - Giacomo Comes <gcomes....@gmail.com> - 4.0.2
+
+- add fix-build-when-SIGSTKSZ-is-no-longer-a-constant.patch
+
+-------------------------------------------------------------------

New:
----
  fix-build-when-SIGSTKSZ-is-no-longer-a-constant.patch

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

Other differences:
------------------
++++++ soci.spec ++++++
--- /var/tmp/diff_new_pack.YhyLDb/_old  2021-09-27 20:09:07.790476754 +0200
+++ /var/tmp/diff_new_pack.YhyLDb/_new  2021-09-27 20:09:07.794476759 +0200
@@ -26,6 +26,8 @@
 Group:          Productivity/Databases/Tools
 URL:            https://soci.sourceforge.io/
 Source:         
https://github.com/SOCI/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE fix-build-when-SIGSTKSZ-is-no-longer-a-constant.patch -- 
upstream commit
+Patch0:         fix-build-when-SIGSTKSZ-is-no-longer-a-constant.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libboost_headers-devel
@@ -207,6 +209,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 sed -i 's/-Werror //' cmake/SociConfig.cmake
 
@@ -255,7 +258,8 @@
 %postun -n lib%{name}_odbc%{sover} -p /sbin/ldconfig
 
 %files -n lib%{name}_core%{sover}
-%doc AUTHORS CHANGES LICENSE_1_0.txt README.md
+%license LICENSE_1_0.txt
+%doc AUTHORS CHANGES README.md
 %{_libdir}/lib%{name}_core.so.*
 
 %files devel

++++++ fix-build-when-SIGSTKSZ-is-no-longer-a-constant.patch ++++++
commit 2df7ddf1561ae70dc8c59796eb2f35dd8b0a58f4
Author: Denis Arnaud <denis.arnaud_fed...@m4x.org>
Date:   Tue May 18 00:05:03 2021 +0200

    Fix build when SIGSTKSZ is no longer a constant
    
    In the latest glibc versions SIGSTKSZ is not a constant any more, which
    broke building the tests with it.
    
    Work around this by hard-coding a typical value for it.
    
    closes #886.

diff --git a/tests/catch.hpp b/tests/catch.hpp
index 014df2c5..85067813 100644
--- a/tests/catch.hpp
+++ b/tests/catch.hpp
@@ -6489,7 +6489,7 @@ namespace Catch {
         static bool isSet;
         static struct sigaction oldSigActions 
[sizeof(signalDefs)/sizeof(SignalDefs)];
         static stack_t oldSigStack;
-        static char altStackMem[SIGSTKSZ];
+        static char altStackMem[8192];
 
         static void handleSignal( int sig ) {
             std::string name = "<unknown signal>";
@@ -6540,7 +6540,7 @@ namespace Catch {
     bool FatalConditionHandler::isSet = false;
     struct sigaction 
FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = 
{};
     stack_t FatalConditionHandler::oldSigStack = {};
-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
+    char FatalConditionHandler::altStackMem[8192] = {};
 
 } // namespace Catch
 

Reply via email to