From 69dfbbd33b2afab0814c5674b0bc7f5464941fbc Mon Sep 17 00:00:00 2001 From: Alexey Lukyanchuk Date: Fri, 1 May 2020 18:51:39 +0300 Subject: [PATCH] package/qpdf: fix 'no such file' exeption Without a source for randomness, qpdf will crash with 'no such file' error. It's can me tested by command like 'qpd some_pdf.pdf -'. This problem breaks cups printing. This patch change configure options to '--with-random=/dev/urandom' Signed-off-by: Alexey Lukyanchuk [yann.morin.1998@free.fr: reword commit log] Signed-off-by: Yann E. MORIN --- package/qpdf/qpdf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk index ac703d716e..fd31140b0c 100644 --- a/package/qpdf/qpdf.mk +++ b/package/qpdf/qpdf.mk @@ -11,7 +11,7 @@ QPDF_LICENSE = Apache-2.0 or Artistic-2.0 QPDF_LICENSE_FILES = LICENSE.txt Artistic-2.0 QPDF_DEPENDENCIES = host-pkgconf zlib jpeg -QPDF_CONF_OPTS = --without-random +QPDF_CONF_OPTS = --with-random=/dev/urandom ifeq ($(BR2_PACKAGE_GNUTLS),y) QPDF_CONF_OPTS += --enable-crypto-gnutls -- 2.30.2