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>
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
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