alonbl      15/06/21 00:10:51

  Added:                dieharder-3.31.1-build.patch
  Log:
  Minimum build fixup for newer glibc, bug#531268, ugly build, unmaintained 
package
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

Revision  Changes    Path
1.1                  app-crypt/dieharder/files/dieharder-3.31.1-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/dieharder/files/dieharder-3.31.1-build.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/dieharder/files/dieharder-3.31.1-build.patch?rev=1.1&content-type=text/plain

Index: dieharder-3.31.1-build.patch
===================================================================
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>




Reply via email to