Add patch to add missing includes
This commit is contained in:
parent
f996f4e9b6
commit
f9df056097
10
gdl-includes.patch
Normal file
10
gdl-includes.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- gdl-0.9.1/src/gdlgstream.cpp.includes 2010-11-17 00:24:55.000000000 -0700
|
||||
+++ gdl-0.9.1/src/gdlgstream.cpp 2011-08-18 11:15:37.685113160 -0600
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "includefirst.hpp"
|
||||
|
||||
#include <iostream>
|
||||
+#include <string>
|
||||
|
||||
#include "graphics.hpp"
|
||||
#include "gdlgstream.hpp"
|
4
gdl.spec
4
gdl.spec
@ -18,6 +18,8 @@ Patch0: gdl-0.9rc3-antlr.patch
|
||||
Patch1: gdl-0.9rc4-antlr-auto.patch
|
||||
# Upstream patch to fix strsplit
|
||||
Patch2: gdl-strsplit.patch
|
||||
# Add missing includes
|
||||
Patch3: gdl-includes.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
#RHEL doesn't have the needed antlr version/headers, has old plplot
|
||||
@ -85,6 +87,7 @@ Provides: %{name}-runtime = %{version}-%{release}
|
||||
%patch1 -p1 -b .antlr-auto
|
||||
%endif
|
||||
%patch2 -p1 -b .strsplit
|
||||
%patch3 -p1 -b .includes
|
||||
%if !0%{?rhel}
|
||||
rm -rf src/antlr
|
||||
%endif
|
||||
@ -172,6 +175,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Thu Aug 18 2011 Orion Poplawski <orion@cora.nwra.com> - 0.9.1-4
|
||||
- Rebuild for plplot 5.9.8
|
||||
- Add upstream patch to fix strsplit and str_sep
|
||||
- Add patch to add missing includes
|
||||
|
||||
* Tue May 17 2011 Orion Poplawski <orion@cora.nwra.com> - 0.9.1-3
|
||||
- Rebuild for hdf5 1.8.7
|
||||
|
Loading…
Reference in New Issue
Block a user