diff --git a/0001-Fix-type-error-incorrect-namespace-used.patch b/0001-Fix-type-error-incorrect-namespace-used.patch new file mode 100644 index 0000000000000000000000000000000000000000..0677b59e7bacc7439dcc54a7a07f2139259517f1 --- /dev/null +++ b/0001-Fix-type-error-incorrect-namespace-used.patch @@ -0,0 +1,25 @@ +From e8e1a2b17ebc435ed6b4805e5bc26955b9f522c2 Mon Sep 17 00:00:00 2001 +From: lilong +Date: Wed, 24 Apr 2024 16:29:21 +0800 +Subject: [PATCH] Fix type error: incorrect namespace used + +--- + liboctave/util/lo-utils.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/liboctave/util/lo-utils.cc b/liboctave/util/lo-utils.cc +index 0807fed..b287f77 100644 +--- a/liboctave/util/lo-utils.cc ++++ b/liboctave/util/lo-utils.cc +@@ -250,7 +250,7 @@ octave_read_fp_value (std::istream& is) + + // FIXME: resetting stream position is likely to fail unless we are + // reading from a file. +- std::ios::streampos pos = is.tellg (); ++ std::streampos pos = is.tellg (); + + char c1 = ' '; + +-- +2.43.0 + diff --git a/octave.spec b/octave.spec index 4a3f74bf4dbbd21a481e792bc0f287e2761508f6..ea095f2e087348286c46df8a69afc0471a1fdbc7 100644 --- a/octave.spec +++ b/octave.spec @@ -5,7 +5,7 @@ Name: octave Epoch: 6 Version: 5.1.0 -Release: 1 +Release: 2 Summary: A high-level language for numerical computations License: GPLv3+ URL: http://www.octave.org @@ -13,6 +13,7 @@ Source0: https://ftp.gnu.org/gnu/octave/octave-%{version}.tar.lz Source2: xorg.conf Source3: octave-5.1.0-docs.tar.lz Patch0: octave-clear-the-eof-condition.patch +Patch1: 0001-Fix-type-error-incorrect-namespace-used.patch Provides: octave(api) = %{octave_api} Provides: bundled(gnulib) Provides: bundled(qterminal) @@ -232,5 +233,8 @@ make check %{_pkgdocdir}/refcard*.pdf %changelog +* Wed Apr 24 2024 lilong - 5.1.0-2 +- Fix type error:incorrect namespace used + * Fri Jul 16 2021 huanghaitao - 5.1.0-1 - package init