package/bullet: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 14 May 2021 21:18:01 +0000 (23:18 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 May 2021 11:36:45 +0000 (13:36 +0200)
bullet needs wchar since bump to version 3.09 in commit
28b4947ed8f53c4edfbf8fef9304dc76480c01ca:

/home/giuliobenetti/autobuild/run/instance-0/output-1/build/bullet-3.09/examples/ThirdPartyLibs/Gwen/Structures.h:42:14: error: 'wstring' in namespace 'std' does not name a type
   42 | typedef std::wstring UnicodeString;
      |              ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/2b1158970fc45e9ebd4be4d726352166ed417a1f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/bullet/Config.in

index 5d8a57aa4781874b28e000950663081780cc21b8..1f632b8931f448f0a1dedd86c19f96080c6940ae 100644 (file)
@@ -2,11 +2,13 @@ config BR2_PACKAGE_BULLET
        bool "bullet"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS # dlfcn.h
+       depends on BR2_USE_WCHAR
        help
          Bullet is a Collision Detection and Rigid Body Dynamics
          Library.
 
          http://bulletphysics.org
 
-comment "bullet needs a toolchain w/ C++, dynamic library"
-       depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+comment "bullet needs a toolchain w/ C++, dynamic library, wchar"
+       depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+               !BR2_USE_WCHAR