summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-03 23:33:51 +0100
committerSam James <sam@gentoo.org>2021-08-03 23:33:51 +0100
commitb3c0d813a60847423f5a683af1cc9f40cedbf4a9 (patch)
tree68fddd84c0409f256b94132e4391dcb599b4338f /sys-apps/rng-tools
parentsys-fs/fuse: fix build with glibc 2.34 (diff)
downloadgentoo-b3c0d813a60847423f5a683af1cc9f40cedbf4a9.tar.gz
gentoo-b3c0d813a60847423f5a683af1cc9f40cedbf4a9.tar.bz2
gentoo-b3c0d813a60847423f5a683af1cc9f40cedbf4a9.zip
sys-apps/rng-tools: backport configure.ac fix
Let's revbump to ensure that nobody had a misdetected feature, just in case. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/rng-tools')
-rw-r--r--sys-apps/rng-tools/files/rng-tools-6.13-various-autotools-fixups.patch25
-rw-r--r--sys-apps/rng-tools/rng-tools-6.13-r1.ebuild (renamed from sys-apps/rng-tools/rng-tools-6.13.ebuild)0
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/rng-tools/files/rng-tools-6.13-various-autotools-fixups.patch b/sys-apps/rng-tools/files/rng-tools-6.13-various-autotools-fixups.patch
index 4ad2348dad96..8cb68ae9b02a 100644
--- a/sys-apps/rng-tools/files/rng-tools-6.13-various-autotools-fixups.patch
+++ b/sys-apps/rng-tools/files/rng-tools-6.13-various-autotools-fixups.patch
@@ -1,4 +1,5 @@
https://github.com/nhorman/rng-tools/pull/132
+https://github.com/nhorman/rng-tools/pull/143
From 16b728f9a5bb138386fa770de817ec244a158be5 Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
@@ -76,3 +77,27 @@ Subject: [PATCH 3/3] `AC_CANONICAL_TARGET` -> `AC_CANONICAL_HOST`
AM_CONDITIONAL([JITTER], [false])
AC_ARG_ENABLE(jitterentropy,
+From 800d7c6e23f0a04bd893ee748a74b622657017a9 Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Sun, 1 Aug 2021 13:16:16 +0200
+Subject: [PATCH] configure.ac: Add missing `test`
+
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0fe06fc..7c8e327 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -68,8 +68,8 @@ AC_PROG_GCC_TRADITIONAL
+
+ AX_PTHREAD
+
+-AM_CONDITIONAL([RDRAND], [test $host_cpu = x86_64 || $host_cpu = i686])
+-AS_IF([test $host_cpu = x86_64 || $host_cpu = i686], [AC_DEFINE([HAVE_RDRAND],1,[Enable RDRAND])],[])
++AM_CONDITIONAL([RDRAND], [test $host_cpu = x86_64 || test $host_cpu = i686])
++AS_IF([test $host_cpu = x86_64 || test $host_cpu = i686], [AC_DEFINE([HAVE_RDRAND],1,[Enable RDRAND])],[])
+
+ AM_CONDITIONAL([DARN], [test $host_cpu = powerpc64le])
+ AS_IF([test $host_cpu = powerpc64le], [AC_DEFINE([HAVE_DARN],1,[Enable DARN])],[])
diff --git a/sys-apps/rng-tools/rng-tools-6.13.ebuild b/sys-apps/rng-tools/rng-tools-6.13-r1.ebuild
index 1e3e35cf30a9..1e3e35cf30a9 100644
--- a/sys-apps/rng-tools/rng-tools-6.13.ebuild
+++ b/sys-apps/rng-tools/rng-tools-6.13-r1.ebuild