diff --git a/octave-config.patch b/octave-config.patch new file mode 100644 index 0000000..59534a6 --- /dev/null +++ b/octave-config.patch @@ -0,0 +1,12 @@ +diff -up octave-3.8.0/libinterp/corefcn/oct.h.config octave-3.8.0/libinterp/corefcn/oct.h +--- octave-3.8.0/libinterp/corefcn/oct.h.config 2013-12-27 14:57:41.000000000 -0700 ++++ octave-3.8.0/libinterp/corefcn/oct.h 2014-01-08 14:10:27.816397648 -0700 +@@ -28,7 +28,7 @@ along with Octave; see the file COPYING. + // config.h needs to be first because it includes #defines that can */ + // affect other header files. + +-#include ++#include "config.h" + + #include "Matrix.h" + diff --git a/octave.spec b/octave.spec index 03e625e..a1ca38f 100644 --- a/octave.spec +++ b/octave.spec @@ -10,7 +10,7 @@ Name: octave Epoch: 6 Version: 3.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A high-level language for numerical computations Group: Applications/Engineering License: GPLv3+ @@ -26,6 +26,8 @@ Source1: macros.octave # Fix to allow pkg build to use a directory # https://savannah.gnu.org/bugs/?func=detailitem&item_id=32839 Patch0: octave-3.8.0-pkgbuilddir.patch +# Fix config.h include +Patch1: octave-config.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -290,6 +292,9 @@ fi %changelog +* Wed Jan 8 2014 Orion Poplawski - 6:3.8.0-2 +- Fix config.h include + * Sat Dec 28 2013 Orion Poplawski - 6:3.8.0-1 - Update to 3.8.0 final