diff --git a/podofo-0.9.1-unistd.patch b/podofo-0.9.1-unistd.patch new file mode 100644 index 0000000..5cb9ad6 --- /dev/null +++ b/podofo-0.9.1-unistd.patch @@ -0,0 +1,11 @@ +diff -up podofo-0.9.1/test/unit/TestUtils.cpp.unistd podofo-0.9.1/test/unit/TestUtils.cpp +--- podofo-0.9.1/test/unit/TestUtils.cpp.unistd 2012-01-16 18:12:52.000000000 +0100 ++++ podofo-0.9.1/test/unit/TestUtils.cpp 2012-01-16 18:13:00.000000000 +0100 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + #if defined(_WIN32) || defined(_WIN64) + #include diff --git a/podofo.spec b/podofo.spec index 38c7419..8067c79 100644 --- a/podofo.spec +++ b/podofo.spec @@ -7,6 +7,7 @@ Group: Applications/Publishing License: GPLv2+ URL: http://podofo.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Patch0: %{name}-0.9.1-unistd.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake @@ -56,6 +57,7 @@ Development files and documentation for the %{name} library. %prep %setup -q +%patch0 -p1 -b .unistd %build @@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jan 16 2012 Dan HorĂ¡k - 0.9.1-4 +- build fix for unistd.h + * Sat Jan 14 2012 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild