summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 15:40:04 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 15:47:03 +0700
commit0dd7c87c4d860993be2d3410fab2bb295b9b944d (patch)
treeb6e30f145fb90b133be9a9ba24bf7171c1a7f164 /system
parent44621734a7ac8b9ac30865ef4eddc6ba0e512c3f (diff)
downloadslackbuilds-0dd7c87c4d860993be2d3410fab2bb295b9b944d.tar.gz
system/dieharder: Fix build with gcc>=10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/dieharder/dieharder.SlackBuild4
-rw-r--r--system/dieharder/dieharder.info4
2 files changed, 4 insertions, 4 deletions
diff --git a/system/dieharder/dieharder.SlackBuild b/system/dieharder/dieharder.SlackBuild
index bfcf30d747..72d79b0e81 100644
--- a/system/dieharder/dieharder.SlackBuild
+++ b/system/dieharder/dieharder.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dieharder
VERSION=${VERSION:-3.31.1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -89,7 +89,7 @@ mkdir -p manual/m4 # a stub.
./autogen.sh
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -D_GNU_SOURCE -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/system/dieharder/dieharder.info b/system/dieharder/dieharder.info
index aa7496f4bd..fbf00d6bf7 100644
--- a/system/dieharder/dieharder.info
+++ b/system/dieharder/dieharder.info
@@ -1,7 +1,7 @@
PRGNAM="dieharder"
VERSION="3.31.1"
-HOMEPAGE="http://www.phy.duke.edu/~rgb/General/dieharder.php"
-DOWNLOAD="http://www.phy.duke.edu/~rgb/General/dieharder/dieharder-3.31.1.tgz"
+HOMEPAGE="https://webhome.phy.duke.edu/~rgb/General/dieharder.php"
+DOWNLOAD="http://webhome.phy.duke.edu/~rgb/General/dieharder/dieharder-3.31.1.tgz"
MD5SUM="b57404dfb812d4548caaf71a05be2d17"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""