Patch to fix build
This commit is contained in:
parent
794210e5c5
commit
037b04db0d
11
fio-2.3-stdint.patch
Normal file
11
fio-2.3-stdint.patch
Normal file
@ -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 <stdint.h>
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
4
fio.spec
4
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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user