spicy: update to 1.11.2.

This commit is contained in:
Andrew Benson 2024-09-20 18:47:20 -05:00
parent 2bb297c5ac
commit 10aca17168
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,24 @@
--- a/hilti/runtime/src/tests/bytes.cc
+++ b/hilti/runtime/src/tests/bytes.cc
@@ -458,15 +458,15 @@
// The next test should fail independent of the locale, so let's set one.
- auto de_locale = newlocale(LC_ALL_MASK, "de_DE.UTF-8", nullptr);
- if ( ! de_locale )
- FAIL("failed to create de_DE locale; locales not installed?");
+ //auto de_locale = newlocale(LC_ALL_MASK, "de_DE.UTF-8", nullptr);
+ //if ( ! de_locale )
+ // FAIL("failed to create de_DE locale; locales not installed?");
- auto old_locale = uselocale(de_locale);
+ //auto old_locale = uselocale(de_locale);
CHECK_THROWS_WITH_AS("1,0"_b.toReal(), "cannot parse real value: '1,0'", const InvalidValue&);
- uselocale(old_locale);
+ //uselocale(old_locale);
- freelocale(de_locale);
+ //freelocale(de_locale);
}
TEST_CASE("toTime") {

View File

@ -1,6 +1,6 @@
# Template file for 'spicy'
pkgname=spicy
version=1.11.1
version=1.11.2
revision=1
build_style=cmake
build_helper=qemu
@ -11,7 +11,7 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
license="BSD-3-Clause"
homepage="https://docs.zeek.org/projects/spicy/en/latest/"
distfiles="https://github.com/zeek/spicy/releases/download/v${version}/spicy.tar.gz"
checksum=5c1f0b34774e608fdcb47ba50d654a27c16852f5fcfcf9c9116d4273f40259d8
checksum=31f44e6887b6d085004a610be3414577d279940cd11681bac373ff76b03d2049
if [ "$CROSS_BUILD" ]; then
export CROSSCOMPILE_EMULATOR="/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static"