Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package octave for openSUSE:Factory checked 
in at 2022-07-12 11:12:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave (Old)
 and      /work/SRC/openSUSE:Factory/.octave.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "octave"

Tue Jul 12 11:12:47 2022 rev:78 rq:988504 version:7.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/octave/octave.changes    2022-07-07 
12:57:44.983357704 +0200
+++ /work/SRC/openSUSE:Factory/.octave.new.1523/octave.changes  2022-07-12 
11:13:00.723743411 +0200
@@ -1,0 +2,6 @@
+Mon Jul 11 21:16:21 UTC 2022 - Stefan Br??ns <stefan.bru...@rwth-aachen.de>
+
+- Fix build with latest TW, add
+  0001-Add-explicit-ctime-include-required-for-clock.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Add-explicit-ctime-include-required-for-clock.patch

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

Other differences:
------------------
++++++ octave.spec ++++++
--- /var/tmp/diff_new_pack.w2ToqK/_old  2022-07-12 11:13:01.363744248 +0200
+++ /var/tmp/diff_new_pack.w2ToqK/_new  2022-07-12 11:13:01.367744254 +0200
@@ -65,6 +65,8 @@
 Patch1:         0001-Disable-signal-handler-thread-avoid-duplicate-signal.patch
 # PATCH-FIX-UPSTREAM - 
https://savannah.gnu.org/bugs/?func=detailitem&item_id=62436
 Patch2:         
https://hg.savannah.gnu.org/hgweb/octave/raw-rev/6e91c61f626f#/fix_build_unlink_failed.patch
+# PATCH-FIX-UPSTREAM - https://savannah.gnu.org/bugs/index.php?62750
+Patch3:         0001-Add-explicit-ctime-include-required-for-clock.patch
 BuildRequires:  arpack-ng-devel
 # Required for Patch0
 BuildRequires:  autoconf

++++++ 0001-Add-explicit-ctime-include-required-for-clock.patch ++++++
>From 41e6f6852d9cc746e1556bb15c660b1ccbf60d69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bru...@rwth-aachen.de>
Date: Mon, 11 Jul 2022 23:08:51 +0200
Subject: [PATCH] Add explicit <ctime> include required for clock()

ctime is no longer implicitly included with recent
toolchains/libraries.

Fixes https://savannah.gnu.org/bugs/index.php?62750
---
 liboctave/numeric/randmtzig.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/liboctave/numeric/randmtzig.cc b/liboctave/numeric/randmtzig.cc
index bfb893f..caed212 100644
--- a/liboctave/numeric/randmtzig.cc
+++ b/liboctave/numeric/randmtzig.cc
@@ -160,6 +160,7 @@
 
 #include <cmath>
 #include <cstdio>
+#include <ctime>
 
 #include <algorithm>
 #include <random>
-- 
2.36.1

Reply via email to