Fix config.h include

This commit is contained in:
Orion Poplawski 2014-01-08 14:13:17 -07:00
parent ba5b114ec5
commit a7fc062a47
2 changed files with 18 additions and 1 deletions

12
octave-config.patch Normal file
View File

@ -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 <config.h>
+#include "config.h"
#include "Matrix.h"

View File

@ -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 <orion@cora.nwra.com> - 6:3.8.0-2
- Fix config.h include
* Sat Dec 28 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-1
- Update to 3.8.0 final