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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63229 in the body.
You can then email your comments to 63229 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63229; Package guix-patches. (Tue, 02 May 2023 07:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to unwox <me <at> unwox.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 02 May 2023 07:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Jonathan Brielmaier <jonathan.brielmaier <at> web.de>:
You have taken responsibility. (Tue, 02 May 2023 20:36:01 GMT) Full text and rfc822 format available.

Notification sent to unwox <me <at> unwox.com>:
bug acknowledged by developer. (Tue, 02 May 2023 20:36:02 GMT) Full text and rfc822 format available.

Message #10 received at 63229-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 May 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 329 days ago.

Previous Next


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