Message ID | 40f55dd0d8f563701ea147e2e5d11867d3ce41a1.1683010173.git.me@unwox.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BBC6227BBE9; Tue, 2 May 2023 14:20:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7614D27BBE2 for <patchwork@mira.cbaines.net>; Tue, 2 May 2023 14:20:54 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1ptpvK-00072K-U0; Tue, 02 May 2023 09:20:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ptktf-0005Jy-15 for guix-patches@gnu.org; Tue, 02 May 2023 03:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ptkte-00069X-OK for guix-patches@gnu.org; Tue, 02 May 2023 03:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ptkte-0008Bi-KF for guix-patches@gnu.org; Tue, 02 May 2023 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63229] [PATCH] gnu: rlottie: Fix building with GCC. Resent-From: unwox <me@unwox.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 May 2023 07:58:02 +0000 Resent-Message-ID: <handler.63229.B.168301422431377@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63229@debbugs.gnu.org Cc: unwox <me@unwox.com> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168301422431377 (code B ref -1); Tue, 02 May 2023 07:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2023 07:57:04 +0000 Received: from localhost ([127.0.0.1]:41635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1ptksh-00089x-PR for submit@debbugs.gnu.org; Tue, 02 May 2023 03:57:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:35582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@unwox.com>) id 1ptjpw-0005rv-Kj for submit@debbugs.gnu.org; Tue, 02 May 2023 02:50:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <me@unwox.com>) id 1ptjpt-0001D0-Ld for guix-patches@gnu.org; Tue, 02 May 2023 02:50:06 -0400 Received: from out-1.mta0.migadu.com ([91.218.175.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <me@unwox.com>) id 1ptjpr-0004WP-6Z for guix-patches@gnu.org; Tue, 02 May 2023 02:50:04 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unwox.com; s=key1; t=1683010195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oh3nqy97xxuKgC6zUmTc2H3baX7I/XdSqRcYkD7AQ+8=; b=S4jP6/Maby4UVg32Yi3Ugx0aNpy1SfA95Yw1CgswLxMcVNo3i9ejAuwWmRGQubkjrOO46a 1H3F53EkzVJkVBKVHlZjcm/bGRpY42kuemu7FbPjDMxQiDbCdUuwHTs0U4StobCRVC8IqD jZn7giQrY1QOWvNaYZ1d3fLVaBa3vNk= Date: Tue, 2 May 2023 12:49:34 +0600 Message-Id: <40f55dd0d8f563701ea147e2e5d11867d3ce41a1.1683010173.git.me@unwox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.1; envelope-from=me@unwox.com; helo=out-1.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 02 May 2023 03:56:54 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 02 May 2023 09:20:00 -0400 X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: unwox <me@unwox.com> X-ACL-Warn: , unwox via Guix-patches <guix-patches@gnu.org> From: unwox via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#63229] gnu: rlottie: Fix building with GCC.
|
|
Commit Message
unwox
May 2, 2023, 6:49 a.m. UTC
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(-) base-commit: 39ba8a10971f15264966823e8696d63c2995df86
Comments
Thanks, pushed as ecb36cc4270c130cbc220cfe7928073ad3901212.
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")