From 97bb3b2698c54224ab472433c5901dc69677c8d7 Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Jul 04 2011 04:28:23 +0000 Subject: Add liborigin-20080225-gcc.patch (Fix FTBFS BZ#716189). --- diff --git a/liborigin-20080225-gcc.patch b/liborigin-20080225-gcc.patch new file mode 100644 index 0000000..379d5ce --- /dev/null +++ b/liborigin-20080225-gcc.patch @@ -0,0 +1,11 @@ +diff -Naur liborigin-20080225.orig/tree.hh liborigin-20080225/tree.hh +--- liborigin-20080225.orig/tree.hh 2008-02-25 11:19:47.000000000 +0100 ++++ liborigin-20080225/tree.hh 2011-07-01 13:32:16.702486023 +0200 +@@ -61,6 +61,7 @@ + #define tree_hh_ + + #include ++#include + #include + #include + #include diff --git a/liborigin.spec b/liborigin.spec index 13327c2..2bec55a 100644 --- a/liborigin.spec +++ b/liborigin.spec @@ -1,6 +1,6 @@ Name: liborigin Version: 20080225 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library for reading OriginLab OPJ project files License: GPLv2 @@ -8,6 +8,8 @@ Group: Development/Libraries URL: http://sourceforge.net/projects/%{name}/ Source: http://belnet.dl.sourceforge.net/sourceforge/liborigin/%{name}-%{version}.tar.gz +# Include into tree.hh +Patch0: %{name}-%{version}-gcc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -30,6 +32,7 @@ you will need to install %{name}-devel. %prep %setup -q +%patch0 -p1 %build @@ -71,6 +74,9 @@ chmod 0644 ws4.opj %{_libdir}/%{name}.so %changelog +* Mon Jul 04 2011 Ralf Corsépius - 20080225-6 +- Add liborigin-20080225-gcc.patch (Fix FTBFS BZ#716189). + * Tue Feb 08 2011 Fedora Release Engineering - 20080225-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild