summaryrefslogtreecommitdiff
path: root/system/dieharder/dieharder.patch
diff options
context:
space:
mode:
authorArthur W. Green <lynx@panix.com>2016-03-19 01:08:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-19 01:08:11 +0700
commit264d724592cfed3285b2544e65190d954fc4a78f (patch)
tree67d2a0e7f581fda1a42859116c950644aa70d861 /system/dieharder/dieharder.patch
parent1bd0cbd0c5b54d155f3f03dd47e36377fbd7b93b (diff)
downloadslackbuilds-264d724592cfed3285b2544e65190d954fc4a78f.tar.gz
system/dieharder: Added (A random number generator testing suite).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dieharder/dieharder.patch')
-rw-r--r--system/dieharder/dieharder.patch79
1 files changed, 79 insertions, 0 deletions
diff --git a/system/dieharder/dieharder.patch b/system/dieharder/dieharder.patch
new file mode 100644
index 0000000000..4815880de5
--- /dev/null
+++ b/system/dieharder/dieharder.patch
@@ -0,0 +1,79 @@
+--- dieharder-3.31.1/autogen.sh 2011-10-14 07:41:37.000000000 -0600
++++ dieharder-3.31.1/autogen.sh 2016-03-09 17:24:24.292466514 -0700
+@@ -18,3 +18,3 @@
+ echo "Running autoreconf..."
+-autoreconf
++autoreconf --install --force
+
+--- dieharder-3.31.1/configure.ac 2011-10-14 07:41:37.000000000 -0600
++++ dieharder-3.31.1/configure.ac 2016-03-09 17:32:23.309477977 -0700
+@@ -20,3 +20,3 @@
+ # AM_MAINTAINER_MODE
+-
++AM_PROG_AR
+ AC_DEFINE([RELEASED], [], [Description])
+@@ -60,2 +60,3 @@
+ AC_PROG_CC
++AC_PROG_CXX
+ AM_PROG_CC_C_O
+@@ -88,3 +89,3 @@
+ define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:])
+-AC_PROG_LIBTOOL
++LT_INIT
+
+@@ -94,2 +95,3 @@
+ AC_TYPE_SIZE_T
++AC_TYPE_OFF_T
+ # AC_C_CONST
+@@ -117,2 +119,5 @@
+ #==================================================================
++AC_CHECK_HEADERS([limits.h])
++AC_CHECK_HEADERS([stddef.h])
++AC_CHECK_HEADERS([sys/time.h])
+ AC_CHECK_HEADER([gsl/gsl_sf_gamma.h],,[AC_MSG_ERROR([Couldn't find GSL headers. Please install the gsl-devel package.])])
+
+--- dieharder-3.31.1/libdieharder/configure.ac 2011-10-14 07:41:37.000000000 -0600
++++ dieharder-3.31.1/libdieharder/configure.ac 2016-03-09 17:24:24.292466514 -0700
+@@ -9,2 +9,3 @@
+ # Checks for programs.
++AC_LANG(C)
+ AC_PROG_CC
+@@ -19,2 +20,5 @@
+ AC_CHECK_HEADERS([string.h])
++AC_CHECK_FUNCS([strerror])
++AC_CHECK_HEADERS([float.h])
++AC_CHECK_HEADERS([stddef.h])
+
+@@ -22,3 +26,6 @@
+ AC_C_CONST
++AC_C_INLINE
+ AC_TYPE_SIZE_T
++AC_TYPE_OFF_T
++AC_TYPE_UINT32_T
+ AC_HEADER_TIME
+@@ -28,2 +35,3 @@
+ AC_FUNC_STAT
++AC_FUNC_ERROR_AT_LINE
+ AC_CHECK_FUNCS([bzero gettimeofday memset pow sqrt])
+
+--- dieharder-3.31.1/Makefile.am 2011-10-14 07:41:37.000000000 -0600
++++ dieharder-3.31.1/Makefile.am 2016-03-09 17:24:24.291466526 -0700
+@@ -12,2 +12,3 @@
+
++ACLOCAL_AMFLAGS=-I m4
+ #========================================================================
+
+--- dieharder-3.31.1/manual/Makefile.am 2011-10-14 07:41:37.000000000 -0600
++++ dieharder-3.31.1/manual/Makefile.am 2016-03-09 17:24:24.291466526 -0700
+@@ -6,3 +6,3 @@
+ SVNPATH = $(SVNTREE)/dieharder
+-SVNTIME = $(HOME/Src/Projects/dieharder/dieharder.svn.time)
++SVNTIME = $(HOME)/Src/Projects/dieharder/dieharder.svn.time
+
+--- dieharder-3.31.1/include/dieharder/libdieharder.h 2011-10-14 07:41:37.000000000 -0600
++++ dieharder-3.31.1/include/dieharder/libdieharder.h 2016-03-09 17:24:24.291466526 -0700
+@@ -21,2 +21,3 @@
+ #include <sys/stat.h>
++#include <stdint.h>
+ #include <unistd.h>
+