Hello community,

here is the log from the commit of package octave-forge-optim for 
openSUSE:Factory checked in at 2019-03-18 10:42:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-optim (Old)
 and      /work/SRC/openSUSE:Factory/.octave-forge-optim.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "octave-forge-optim"

Mon Mar 18 10:42:33 2019 rev:5 rq:685612 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/octave-forge-optim/octave-forge-optim.changes    
2018-08-20 16:19:30.696830171 +0200
+++ 
/work/SRC/openSUSE:Factory/.octave-forge-optim.new.28833/octave-forge-optim.changes
 2019-03-18 10:42:35.995181992 +0100
@@ -1,0 +2,7 @@
+Fri Mar 15 21:01:08 UTC 2019 - Stefan BrĂ¼ns <[email protected]>
+
+- Fix compilation error due to missing iostream.h include
+  Add add_missing_iostream_include.patch
+- Corrected Url: tag
+
+-------------------------------------------------------------------

New:
----
  add_missing_iostream_include.patch

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

Other differences:
------------------
++++++ octave-forge-optim.spec ++++++
--- /var/tmp/diff_new_pack.lO99XP/_old  2019-03-18 10:42:36.683181151 +0100
+++ /var/tmp/diff_new_pack.lO99XP/_new  2019-03-18 10:42:36.683181151 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package octave-forge-optim
 #
-# 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/
 #
 
 
@@ -23,8 +23,10 @@
 Summary:        Non-linear optimization toolkit for Octave
 License:        GPL-3.0-or-later
 Group:          Productivity/Scientific/Math
-Url:            http://octave.sourceforge.net
+Url:            https://octave.sourceforge.io/optim/index.html
 Source0:        
http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
+Patch0:         add_missing_iostream_include.patch
 BuildRequires:  blas-devel
 BuildRequires:  gcc-c++
 BuildRequires:  hdf5-devel
@@ -41,6 +43,7 @@
 
 %prep
 %setup -q -c %{name}-%{version}
+%patch0 -p1
 %octave_pkg_src
 
 %build
@@ -59,7 +62,6 @@
 %octave --eval "pkg rebuild"
 
 %files
-%defattr(-,root,root)
 %{octpackages_dir}/%{octpkg}-%{version}
 %{octlib_dir}/%{octpkg}-%{version}
 

++++++ add_missing_iostream_include.patch ++++++
--- a/optim-1.5.3/src/error-helpers.h   2019-03-05 14:28:24.967487038 +0100
+++ b/optim-1.5.3/src/error-helpers.h   2019-03-05 14:40:09.977597631 +0100
@@ -18,6 +18,8 @@
 */
 
 #include "config.h"
+
+#include <iostream>
 
 // Octaves non-static verror functions: The elder all set error_state,
 // the newer, present from the time on at which error started to throw

Reply via email to