GNU bug report logs - #63229
[PATCH] gnu: rlottie: Fix building with GCC.

Previous Next

Package: guix-patches;

Reported by: unwox <me <at> unwox.com>

Date: Tue, 2 May 2023 07:58:02 UTC

Severity: normal

Tags: patch

Done: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: unwox <me <at> unwox.com>
Subject: bug#63229: closed ([PATCH] gnu: rlottie: Fix building with GCC.)
Date: Tue, 02 May 2023 20:36:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#63229: [PATCH] gnu: rlottie: Fix building with GCC.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 63229 <at> debbugs.gnu.org.

-- 
63229: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63229
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 63229-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: rlottie: Fix building with GCC.
Date: Tue, 2 May 2023 22:35:47 +0200
Thanks, pushed as ecb36cc4270c130cbc220cfe7928073ad3901212.

[Message part 3 (message/rfc822, inline)]
From: unwox <me <at> unwox.com>
To: guix-patches <at> gnu.org
Cc: unwox <me <at> unwox.com>
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




This bug report was last modified 2 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.