From f9df056097c5a07ad58d777e4a0658979d675bd3 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 18 Aug 2011 11:17:16 -0600 Subject: [PATCH] Add patch to add missing includes --- gdl-includes.patch | 10 ++++++++++ gdl.spec | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 gdl-includes.patch diff --git a/gdl-includes.patch b/gdl-includes.patch new file mode 100644 index 0000000..110e6f2 --- /dev/null +++ b/gdl-includes.patch @@ -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 ++#include + + #include "graphics.hpp" + #include "gdlgstream.hpp" diff --git a/gdl.spec b/gdl.spec index 1254025..b4a6fdc 100644 --- a/gdl.spec +++ b/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 - 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 - 0.9.1-3 - Rebuild for hdf5 1.8.7