mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
rng-tools: fix configure to work with new jitterentropy library.
The recent update to the jitterentropy library broke rng-tools
configure. This patch fixes it. The source is the upstream commit:
daff4e2dd9
.
This commit is contained in:
parent
a421bb85c2
commit
1b27e05160
2 changed files with 16 additions and 1 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
New jitterentropy library broke configure. This patch fixes it.
|
||||||
|
|
||||||
|
Upstream patch: https://github.com/nhorman/rng-tools/commit/daff4e2dd9d3abb74829f41e72607681163bd309
|
||||||
|
|
||||||
|
--- a/configure.ac 2020-12-03 20:59:11.086238518 +0100
|
||||||
|
+++ b/configure.ac 2020-12-03 21:00:40.978593727 +0100
|
||||||
|
@@ -91,7 +91,7 @@
|
||||||
|
AC_SEARCH_LIBS(jent_version,jitterentropy,
|
||||||
|
[AM_CONDITIONAL([JITTER], [true])
|
||||||
|
AC_DEFINE([HAVE_JITTER],1,[Enable JITTER])],
|
||||||
|
- AC_MSG_NOTICE([No Jitterentropy library found]))
|
||||||
|
+ AC_MSG_NOTICE([No Jitterentropy library found]),-lpthread)
|
||||||
|
], [AC_MSG_NOTICE([Disabling JITTER entropy source])]
|
||||||
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rng-tools'
|
# Template file for 'rng-tools'
|
||||||
pkgname=rng-tools
|
pkgname=rng-tools
|
||||||
version=6.10
|
version=6.10
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc=${pkgname}-${version}
|
wrksrc=${pkgname}-${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --without-pkcs11 --without-rtlsdr"
|
configure_args="--sbindir=/usr/bin --without-pkcs11 --without-rtlsdr"
|
||||||
|
|
Loading…
Add table
Reference in a new issue