diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2018-09-19 16:48:33 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-09-19 16:49:54 -0400 |
commit | 76e53b38578266e4a8f657c2db67c13c6ae72150 (patch) | |
tree | 27bfc46efc551ad86ab8b3933fab9a4707ee8718 /sys-apps/rng-tools/files | |
parent | app-laptop/mbpfan: bump to 2.1.0 (diff) | |
download | gentoo-76e53b38578266e4a8f657c2db67c13c6ae72150.tar.gz gentoo-76e53b38578266e4a8f657c2db67c13c6ae72150.tar.bz2 gentoo-76e53b38578266e4a8f657c2db67c13c6ae72150.zip |
sys-apps/rng-tools: bump to 6.4
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'sys-apps/rng-tools/files')
-rw-r--r-- | sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch b/sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch new file mode 100644 index 000000000000..e6cf95d13f32 --- /dev/null +++ b/sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch @@ -0,0 +1,36 @@ +From ac00de69665a14bc1884be90ec83f8e8bc4d69f0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@gentoo.org> +Date: Wed, 19 Sep 2018 16:45:37 -0400 +Subject: [PATCH] Makefile.am: use the libjitterentropy available on the system + +--- + Makefile.am | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index fa8ecca..abc759a 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -2,9 +2,7 @@ + ## Toplevel Makefile.am for rng-tools + ## + if JITTER +- JSUBDIR = jitterentropy-library +- JSUBLIB = ./jitterentropy-library/libjitterentropy.a +- AM_CPPFLAGS = -I./jitterentropy-library ++ jitterentropy_LIBS = -ljitterentropy + endif + + SUBDIRS = contrib tests $(JSUBDIR) +@@ -33,7 +31,7 @@ if JITTER + rngd_SOURCES += rngd_jitter.c + endif + +-rngd_LDADD = librngd.a -lsysfs $(JSUBLIB) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} $(PTHREAD_LIBS) ++rngd_LDADD = librngd.a -lsysfs $(jitterentropy_LIBS) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} $(PTHREAD_LIBS) + + rngd_CFLAGS = ${libxml2_CFLAGS} ${openssl_CFLAGS} $(PTHREAD_CFLAGS) + rngd_LDFLAGS = $(PTHREAD_CFLAGS) +-- +2.19.0 + |