diff options
Diffstat (limited to 'app-benchmarks/i7z/files/use_stdbool.patch')
-rw-r--r-- | app-benchmarks/i7z/files/use_stdbool.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/app-benchmarks/i7z/files/use_stdbool.patch b/app-benchmarks/i7z/files/use_stdbool.patch deleted file mode 100644 index 4aa84ac091c9..000000000000 --- a/app-benchmarks/i7z/files/use_stdbool.patch +++ /dev/null @@ -1,40 +0,0 @@ -Author: Andreas Beckmann <anbe@debian.org> -Description: use a consistent bool type -Bug-Debian: #749724 - ---- a/i7z.h -+++ b/i7z.h -@@ -11,18 +11,13 @@ - * ----------------------------------------------------------------------- */ - - #include <sys/time.h> -+#include <stdbool.h> - - #define i7z_VERSION_INFO "svn-r93-(27-MAY-2013)" - - //structure to store the information about the processor - #define proccpuinfo "/proc/cpuinfo" - --#ifndef bool --#define bool int --#endif --#define false 0 --#define true 1 -- - #define MAX_PROCESSORS 128 - #define MAX_HI_PROCESSORS MAX_PROCESSORS - #define MAX_SK_PROCESSORS (MAX_PROCESSORS/4) ---- a/cpuinfo.c -+++ b/cpuinfo.c -@@ -2,10 +2,8 @@ - #include "string.h" - #include "stdlib.h" - #include "assert.h" -+#include <stdbool.h> - #define MAX_PROCESSORS 32 --#define bool int --#define false 0 --#define true 1 - - #define MAX_HI_PROCESSORS MAX_PROCESSORS - |