From ae087f303aa46c6a6409b826e91fbb05763e5b3e Mon Sep 17 00:00:00 2001 From: Thibault North Date: Apr 26 2008 15:56:02 +0000 Subject: Rebuild for gcc4.3 --- diff --git a/liborigin-include.patch b/liborigin-include.patch new file mode 100644 index 0000000..a2bcfca --- /dev/null +++ b/liborigin-include.patch @@ -0,0 +1,10 @@ +--- OPJFile.cpp.orig 2008-04-20 08:50:26.000000000 +0200 ++++ OPJFile.cpp 2008-04-20 08:51:26.000000000 +0200 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + #include //required for std::swap + #include "OPJFile.h" diff --git a/liborigin.spec b/liborigin.spec index f306361..825b900 100644 --- a/liborigin.spec +++ b/liborigin.spec @@ -1,6 +1,6 @@ Name: liborigin Version: 20071119 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Library for reading OriginLab OPJ project files License: GPLv2 @@ -8,6 +8,9 @@ Group: Development/Libraries URL: http://sourceforge.net/projects/%{name}/ Source: http://belnet.dl.sourceforge.net/sourceforge/liborigin/%{name}-%{version}.tar.gz + +Patch0: %{name}-include.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake @@ -30,6 +33,8 @@ you will need to install %{name}-devel. %prep %setup -q +%patch0 -p0 -b .include + %build # fix for hardcoded path of %{_libdir} @@ -67,6 +72,13 @@ install -pm 644 OPJFile.h tree.hh %{buildroot}%{_includedir}/%{name}/ %{_libdir}/%{name}.so %changelog +* Sat Apr 26 2008 Thibault North - 20070119-3 +- now uses again version 20070119 +- patch for successful rebuild with gcc4.3 + +* Mon Apr 21 2008 Thibault North - 20070115-2 +- rebuild for F9 with optimized gcc4.3 extensions + * Fri Jan 18 2008 Chitlesh Goorah - 20071119-1 - New upstream release - fix for hardcoded path of %%{_libdir} diff --git a/sources b/sources index 213f2d0..fc2b45a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba5f2a1ee31089f78c2661e5ce4a3c54 liborigin-20071119.tar.gz +b498d074623f6bd66fc4b28ac2f6a07e liborigin-20071119.tar.gz