unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63229] [PATCH] gnu: rlottie: Fix building with GCC.
@ 2023-05-02  6:49 unwox via Guix-patches via
  2023-05-02 20:35 ` bug#63229: " Jonathan Brielmaier
  0 siblings, 1 reply; 2+ messages in thread
From: unwox via Guix-patches via @ 2023-05-02  6:49 UTC (permalink / raw)
  To: 63229; +Cc: unwox

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#63229: [PATCH] gnu: rlottie: Fix building with GCC.
  2023-05-02  6:49 [bug#63229] [PATCH] gnu: rlottie: Fix building with GCC unwox via Guix-patches via
@ 2023-05-02 20:35 ` Jonathan Brielmaier
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Brielmaier @ 2023-05-02 20:35 UTC (permalink / raw)
  To: 63229-done

Thanks, pushed as ecb36cc4270c130cbc220cfe7928073ad3901212.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-02 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02  6:49 [bug#63229] [PATCH] gnu: rlottie: Fix building with GCC unwox via Guix-patches via
2023-05-02 20:35 ` bug#63229: " Jonathan Brielmaier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).