package/qpdf: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 29 Feb 2020 13:01:30 +0000 (14:01 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 29 Feb 2020 18:26:38 +0000 (19:26 +0100)
Upstream was not too keen [0] on applying fixes for toolchains without
wchar, so just require that.

The sole user selecting qpdf already depends on wchar, so update the
comment accordingly.

[0] https://github.com/qpdf/qpdf/pull/405#issuecomment-592971907

Fixes:
 - http://autobuild.buildroot.org/results/99c82d4775ed44bd04d0a48188ff590dcba73d69

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: drop the patch, add the dependency]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/cups-filters/Config.in
package/qpdf/Config.in

index 5badf0e1f1d4208fca56779dbb1dd990a4b43b95..9e4e37ca6b3aa89491f54c47253c7545a703f743 100644 (file)
@@ -4,7 +4,7 @@ config BR2_PACKAGE_CUPS_FILTERS
        depends on BR2_USE_MMU
        depends on BR2_INSTALL_LIBSTDCPP # qpdf
        depends on !BR2_STATIC_LIBS
-       depends on BR2_USE_WCHAR # libglib2
+       depends on BR2_USE_WCHAR # libglib2, qpdf
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_PACKAGE_CUPS
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
index 7550e1547a508083912e64a302a116b08539e2cc..6f586f651afdf8507be99fe1ee9e119c16ad1109 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_QPDF
        bool "qpdf"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_JPEG