[Buildroot] [PATCH 1/3] package/qpdf: fix 'no such file' exeption

Alexey Lukyanchuk skif at skif-web.ru
Sat Apr 11 09:40:20 UTC 2020


Qpdf need '--with-random' option for proper work.
This problem broke cups printing.

Without it, app crashed with 'no such file' error.
It's can me tested by command like 'qpd some_pdf.pdf -'.

This patch change configure options to '--with-random=/dev/random'

Signed-off-by: Alexey Lukyanchuk <skif at skif-web.ru>
---
 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..9368496069 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/random
 
 ifeq ($(BR2_PACKAGE_GNUTLS),y)
 QPDF_CONF_OPTS += --enable-crypto-gnutls
-- 
2.17.1



More information about the buildroot mailing list