mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
jsonnet: update to 0.21.0.
This commit is contained in:
parent
3df5d96b76
commit
44f825d7cd
3 changed files with 2 additions and 51 deletions
|
@ -1,27 +0,0 @@
|
|||
commit 9d1ebbeb750a790e0df045bf24ea2181a6ba3cf7
|
||||
Author: q66 <daniel@octaforge.org>
|
||||
Date: Thu Jan 6 17:06:34 2022 +0100
|
||||
|
||||
error: 'trap_instruction' was not declared in this scope
|
||||
|
||||
diff --git a/third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/debugbreak/debugbreak.h b/third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/debugbreak/debugbreak.h
|
||||
index f570bf8..9c5fc2c 100644
|
||||
--- a/third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/debugbreak/debugbreak.h
|
||||
+++ b/third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/debugbreak/debugbreak.h
|
||||
@@ -102,13 +102,16 @@ __inline__ static void trap_instruction(void)
|
||||
}
|
||||
#else
|
||||
enum { HAVE_TRAP_INSTRUCTION = 0, };
|
||||
+#define NO_TRAP_INSTRUCTION 1
|
||||
#endif
|
||||
|
||||
__attribute__((gnu_inline, always_inline))
|
||||
__inline__ static void debug_break(void)
|
||||
{
|
||||
if (HAVE_TRAP_INSTRUCTION) {
|
||||
+#ifndef NO_TRAP_INSTRUCTION
|
||||
trap_instruction();
|
||||
+#endif
|
||||
} else if (DEBUG_BREAK_PREFER_BUILTIN_TRAP_TO_SIGTRAP) {
|
||||
/* raises SIGILL on Linux x86{,-64}, to continue in gdb:
|
||||
* (gdb) handle SIGILL stop nopass
|
|
@ -1,22 +0,0 @@
|
|||
--- a/third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h
|
||||
+++ b/third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h
|
||||
@@ -9,10 +9,12 @@
|
||||
|| defined(__amd64) || defined(__aarch64__) || defined(_M_ARM64) \
|
||||
|| defined(__MINGW64__) \
|
||||
|| defined(__s390x__) \
|
||||
+ || defined(__powerpc64__) \
|
||||
|| (defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__)))
|
||||
#define FASTFLOAT_64BIT
|
||||
#elif (defined(__i386) || defined(__i386__) || defined(_M_IX86) \
|
||||
|| defined(__arm__) \
|
||||
+ || defined(__powerpc__) \
|
||||
|| defined(__MINGW32__))
|
||||
#define FASTFLOAT_32BIT
|
||||
#else
|
||||
@@ -337,4 +339,4 @@ inline OStream& operator<<(OStream &out, const fast_float::decimal &d) {
|
||||
return out;
|
||||
}
|
||||
|
||||
-#endif
|
||||
\ No newline at end of file
|
||||
+#endif
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'jsonnet'
|
||||
pkgname=jsonnet
|
||||
version=0.20.0
|
||||
version=0.21.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=true
|
||||
|
@ -9,7 +9,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://github.com/google/jsonnet"
|
||||
distfiles="https://github.com/google/jsonnet/archive/v${version}.tar.gz"
|
||||
checksum=77bd269073807731f6b11ff8d7c03e9065aafb8e4d038935deb388325e52511b
|
||||
checksum=a12ebca72e43e7061ffe4ef910e572b95edd7778a543d6bf85f6355bd290300e
|
||||
|
||||
CXXFLAGS="-fPIC"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue