Add patch to add missing includes

This commit is contained in:
Orion Poplawski 2011-08-18 11:17:16 -06:00
parent f996f4e9b6
commit f9df056097
2 changed files with 14 additions and 0 deletions

10
gdl-includes.patch Normal file
View 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"

View File

@ -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