--- Begin Message ---
Subject: |
[PATCH] gnu: rlottie: Fix building with GCC. |
Date: |
Tue, 2 May 2023 12:49:34 +0600 |
std::numeric_limits requires "#include <limits>" when building with
cpp_std=c++14. This patch fixes the issue by specifying gnu++17 as
a stdlib.
* gnu/packages/animation.scm (rlottie): Specify -Dcpp_std option.
---
gnu/packages/animation.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm
index 4c03b78717..b0bf2c672b 100644
--- a/gnu/packages/animation.scm
+++ b/gnu/packages/animation.scm
@@ -83,7 +83,8 @@ (define-public rlottie
`(#:configure-flags
(list
"-Dlog=true"
- "-Dtest=true")))
+ "-Dtest=true"
+ "-Dcpp_std=gnu++17")))
(native-inputs
(list googletest pkg-config))
(synopsis "Lottie Animation Library")
base-commit: 39ba8a10971f15264966823e8696d63c2995df86
--
2.39.2
--- End Message ---
--- Begin Message ---
Subject: |
[PATCH] gnu: rlottie: Fix building with GCC. |
Date: |
Tue, 2 May 2023 22:35:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
Thanks, pushed as ecb36cc4270c130cbc220cfe7928073ad3901212.
--- End Message ---