From: unwox via Guix-patches via <guix-patches@gnu.org>
To: 63229@debbugs.gnu.org
Cc: unwox <me@unwox.com>
Subject: [bug#63229] [PATCH] gnu: rlottie: Fix building with GCC.
Date: Tue, 2 May 2023 12:49:34 +0600 [thread overview]
Message-ID: <40f55dd0d8f563701ea147e2e5d11867d3ce41a1.1683010173.git.me@unwox.com> (raw)
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
next reply other threads:[~2023-05-02 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 6:49 unwox via Guix-patches via [this message]
2023-05-02 20:35 ` bug#63229: [PATCH] gnu: rlottie: Fix building with GCC Jonathan Brielmaier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40f55dd0d8f563701ea147e2e5d11867d3ce41a1.1683010173.git.me@unwox.com \
--to=guix-patches@gnu.org \
--cc=63229@debbugs.gnu.org \
--cc=me@unwox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).