diff --git a/fbreader-0.10.3-gcc44.patch b/fbreader-0.10.3-gcc44.patch new file mode 100644 index 0000000..8ae594c --- /dev/null +++ b/fbreader-0.10.3-gcc44.patch @@ -0,0 +1,10 @@ +--- fbreader-0.10.3/zlibrary/core/src/util/ZLUnicodeUtil.h.gcc44 2009-02-04 18:29:55.000000000 -0500 ++++ fbreader-0.10.3/zlibrary/core/src/util/ZLUnicodeUtil.h 2009-02-24 20:08:58.653676821 -0500 +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + class ZLUnicodeUtil { + diff --git a/fbreader.spec b/fbreader.spec index ce85ac9..4359d84 100644 --- a/fbreader.spec +++ b/fbreader.spec @@ -1,7 +1,7 @@ # rebuild with --with qt4 to build optional qt4 UI Name: fbreader Version: 0.10.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: E-book reader Group: Applications/Publishing @@ -13,6 +13,8 @@ Patch1: fbreader-optflags.patch # Use to expose the compiler flags used during build # Patch2: fbreader-debug.patch Patch3: fbreader-defaults.patch +# http://fbreader.org/mantis/view.php?id=150 +Patch4: fbreader-0.10.3-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: expat-devel bzip2-devel liblinebreak-static @@ -52,6 +54,7 @@ FBReader is an e-book reader, with the following main features: %patch1 -p0 -b .optflags #%patch2 -p0 -b .debug %patch3 -p0 -b .defaults +%patch4 -p1 -b .gcc44 %build @@ -116,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 24 2009 Michel Salim - 0.10.3-3 +- Fix for GCC 4.4 + * Tue Feb 24 2009 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild