From 037b04db0d6429d253318132cb73fbee8b934858 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Jan 14 2016 18:39:28 +0000 Subject: Patch to fix build --- diff --git a/fio-2.3-stdint.patch b/fio-2.3-stdint.patch new file mode 100644 index 0000000..692ae63 --- /dev/null +++ b/fio-2.3-stdint.patch @@ -0,0 +1,11 @@ +--- fio-2.3/oslib/libmtd.h.orig 2016-01-14 12:19:56.281598279 -0600 ++++ fio-2.3/oslib/libmtd.h 2016-01-14 12:20:16.932348893 -0600 +@@ -25,6 +25,8 @@ + #ifndef __LIBMTD_H__ + #define __LIBMTD_H__ + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif diff --git a/fio.spec b/fio.spec index 691479a..ad09de9 100644 --- a/fio.spec +++ b/fio.spec @@ -8,6 +8,8 @@ License: GPLv2 URL: http://git.kernel.dk/?p=fio.git;a=summary Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 +Patch0: fio-2.3-stdint.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libaio-devel @@ -26,6 +28,8 @@ one wants to simulate. %prep %setup -q +%patch0 -p1 + %build EXTFLAGS="$RPM_OPT_FLAGS" make V=1 %{?_smp_mflags}