mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/libblockdev: needs locale
locale_t is unconditionally used since version 1.5 and4ed6f0b3a4resulting in the following build failure since the addition of the package in commit0c52826291: module.c:33:37: error: unknown type name 'locale_t' 33 | static char *strerror_l(int errnum, locale_t locale UNUSED) | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/ede9eb1f13d56c77005cc448416fb2efa9d16ff0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commita6b4217312) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
c6062faf55
commit
ab72abd652
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBBLOCKDEV
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||||
depends on BR2_USE_MMU # libglib2
|
depends on BR2_USE_MMU # libglib2
|
||||||
depends on BR2_PACKAGE_HAS_UDEV
|
depends on BR2_PACKAGE_HAS_UDEV
|
||||||
|
depends on BR2_ENABLE_LOCALE
|
||||||
select BR2_PACKAGE_KMOD
|
select BR2_PACKAGE_KMOD
|
||||||
select BR2_PACKAGE_LIBGLIB2
|
select BR2_PACKAGE_LIBGLIB2
|
||||||
help
|
help
|
||||||
@@ -66,7 +67,8 @@ config BR2_PACKAGE_LIBBLOCKDEV_SWAP
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library, locale"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
|
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
|
||||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||||
|
!BR2_ENABLE_LOCALE
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
config BR2_PACKAGE_UDISKS
|
config BR2_PACKAGE_UDISKS
|
||||||
bool "udisks"
|
bool "udisks"
|
||||||
depends on BR2_ENABLE_LOCALE # parted
|
depends on BR2_ENABLE_LOCALE # libblockdev, parted
|
||||||
depends on BR2_PACKAGE_HAS_UDEV
|
depends on BR2_PACKAGE_HAS_UDEV
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> C++17
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> C++17
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # polkit
|
depends on BR2_TOOLCHAIN_HAS_THREADS # polkit
|
||||||
|
|||||||
Reference in New Issue
Block a user