From 438e36ddf944c86ce960fa17e9848ada2b2b6a74 Mon Sep 17 00:00:00 2001 From: Göktürk Yüksek Date: Fri, 6 Jul 2018 18:01:19 -0400 Subject: sys-apps/rng-tools: bump to v6.3 Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- .../rng-tools-6.3-jitterentropy-linking-fix.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch (limited to 'sys-apps/rng-tools/files') diff --git a/sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch b/sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch new file mode 100644 index 000000000000..f7b87c88715d --- /dev/null +++ b/sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch @@ -0,0 +1,36 @@ +From c9f795da2dbeb0e85025f6264321aef1ba12059e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= +Date: Fri, 6 Jul 2018 17:20:28 -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 b80e9a0..5d33aaf 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} ++rngd_LDADD = librngd.a -lsysfs $(jitterentropy_LIBS) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} + + rngd_CFLAGS = ${libxml2_CFLAGS} ${openssl_CFLAGS} + +-- +2.17.0 + -- cgit v1.2.3-65-gdbad