From 4aa7c7185fee748c72c19e1cc67df7fa0afd96f8 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 19 Sep 2006 16:41:52 +0000 Subject: [PATCH] Add patch for specialization error caught by gcc 4.1.1 --- gdl-0.9pre2-specialization.patch | 15 +++++++++++++++ gdl.spec | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 gdl-0.9pre2-specialization.patch diff --git a/gdl-0.9pre2-specialization.patch b/gdl-0.9pre2-specialization.patch new file mode 100644 index 0000000..22a2c52 --- /dev/null +++ b/gdl-0.9pre2-specialization.patch @@ -0,0 +1,15 @@ +--- gdl-0.9pre2/src/specializations.hpp.orig 2006-06-12 23:24:09.000000000 -0600 ++++ gdl-0.9pre2/src/specializations.hpp 2006-09-19 10:23:58.000000000 -0600 +@@ -237,6 +237,12 @@ + Data_* Data_::LogNeg(); + + // datatypes.cpp ++template<> ++Data_::Data_(const dimension& dim_, BaseGDL::InitType iT); ++template<> ++Data_::Data_(const dimension& dim_, BaseGDL::InitType iT); ++template<> ++Data_::Data_(const dimension& dim_, BaseGDL::InitType iT); + template<> SizeT Data_::NBytes() const; + // template<> SizeT Data_::NBytes() const; + // template<> SizeT Data_::NBytes() const; diff --git a/gdl.spec b/gdl.spec index aa1f7b9..73edb26 100644 --- a/gdl.spec +++ b/gdl.spec @@ -7,6 +7,7 @@ Group: Applications/Engineering License: GPL URL: http://gnudatalanguage.sourceforge.net/ Source0: http://dl.sf.net/gnudata/%{name}-%{version}pre2.tar.gz +Patch0: gdl-0.9pre2-specialization.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: readline-devel, ncurses-devel @@ -24,6 +25,7 @@ Systems Inc. %prep %setup -q -n %{name}-%{version}pre2 +%patch -p1 %build @@ -51,6 +53,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Sep 19 2006 - Orion Poplawski - 0.9-0.pre3 - Rebuild for FC6 +- Add patch for specialization error caught by gcc 4.1.1 * Thu Jun 29 2006 - Orion Poplawski - 0.9-0.pre2 - Update to 0.9pre2