diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/dieharder/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/dieharder/files')
-rw-r--r-- | app-crypt/dieharder/files/dieharder-3.31.1-build.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch new file mode 100644 index 000000000000..4cbd5021c77c --- /dev/null +++ b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch @@ -0,0 +1,27 @@ +diff --git a/include/dieharder/libdieharder.h b/include/dieharder/libdieharder.h +index 2138ebf..f6d471b 100644 +--- a/include/dieharder/libdieharder.h ++++ b/include/dieharder/libdieharder.h +@@ -6,6 +6,8 @@ + + #include "copyright.h" + ++#define _GNU_SOURCE ++ + /* To enable large file support */ + #define _FILE_OFFSET_BITS 64 + +@@ -16,13 +18,11 @@ + #include <sys/time.h> + + /* This turns on uint macro in c99 */ +-#define __USE_MISC 1 + #include <sys/types.h> + #include <sys/stat.h> + #include <unistd.h> + + /* This turns on M_PI in math.h */ +-#define __USE_BSD 1 + #include <math.h> + #include <limits.h> + #include <gsl/gsl_rng.h> |