package/libplatform: bump version
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 2 Mar 2021 07:07:00 +0000 (08:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 6 Mar 2021 20:30:52 +0000 (21:30 +0100)
commit977f5fd13480699d94e0ba63d9afae94b71906e6
tree60a2a21e4cf29cac133cee08ffe20db239351e42
parent639fe21d5b36409dd7698b9805f91b5673c820b8
package/libplatform: bump version

Add -std=c++11 to CXXFLAGS to fix build with gcc < 5.x:

buildroot/output/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:
 In static member function 'static std::string& StringUtils::TrimLeft(std::string&)':
buildroot/output/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:99:
 warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
   str.erase(str.begin(), ::find_if(str.begin(), str.end(), [](char s) { return isspace_c(s) == 0; }));
                                                                                                   ^
buildroot/output/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:100:
 error: no matching function for call to 'find_if(std::basic_string<char>::iterator, std::basic_string<char>::iterator,
  StringUtils::TrimLeft(std::string&)::__lambda0)'
   str.erase(str.begin(), ::find_if(str.begin(), str.end(), [](char s) { return isspace_c(s) == 0; }));
                                                                                                    ^

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libplatform/libplatform.hash
package/libplatform/libplatform.mk