Hello community,
here is the log from the commit of package octave-forge-database for openSUSE:Factory checked in at 2019-03-06 15:50:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-database (Old)
and /work/SRC/openSUSE:Factory/.octave-forge-database.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-database"
Wed Mar 6 15:50:53 2019 rev:6 rq:681968 version:2.4.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/octave-forge-database/octave-forge-database.changes 2018-08-10 09:50:01.274293466 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-database.new.28833/octave-forge-database.changes 2019-03-06 15:51:02.296440006 +0100
@@ -1,0 +2,5 @@
+Tue Mar 5 13:42:32 UTC 2019 - Stefan Brüns
+
+- Fix compilation with current GCC, add add_missing_iostream_include.patch
+
+-------------------------------------------------------------------
New:
----
add_missing_iostream_include.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ octave-forge-database.spec ++++++
--- /var/tmp/diff_new_pack.wmZIcV/_old 2019-03-06 15:51:04.012439700 +0100
+++ /var/tmp/diff_new_pack.wmZIcV/_new 2019-03-06 15:51:04.040439695 +0100
@@ -1,7 +1,7 @@
#
# spec file for package octave-forge-database
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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,6 +25,8 @@
Group: Productivity/Scientific/Math
Url: http://octave.sourceforge.net
Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
+Patch0: add_missing_iostream_include.patch
BuildRequires: gcc-c++
BuildRequires: hdf5-devel
BuildRequires: octave-devel
@@ -38,6 +40,7 @@
%prep
%setup -q -c %{name}-%{version}
+%patch0 -p1
%octave_pkg_src
%build
@@ -56,7 +59,6 @@
%octave --eval "pkg rebuild"
%files
-%defattr(-,root,root)
%{octpackages_dir}/%{octpkg}-%{version}
%{octlib_dir}/%{octpkg}-%{version}
++++++ add_missing_iostream_include.patch ++++++
--- a/database-2.4.3/src/error-helpers.cc 2019-03-05 14:28:24.967487038 +0100
+++ b/database-2.4.3/src/error-helpers.cc 2019-03-05 14:40:09.977597631 +0100
@@ -19,6 +19,8 @@
#include
+#include <iostream>
+
#include "error-helpers.h"
// call verror