From patchwork Tue Nov 19 06:54:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70523 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D739227BBEC; Tue, 19 Nov 2024 07:00:03 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 9670127BBE2 for ; Tue, 19 Nov 2024 07:00:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDICm-0008QN-7U; Tue, 19 Nov 2024 01:59:20 -0500 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 ) id 1tDICk-0008Oh-2L for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:18 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDICj-0004Kh-PW for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=iZ7gvj8TZhmo++vO5wvgaIjArhnfvdAxNWoJeaXJfSU=; b=WIGV3o4tPAk+nKBzC0vy2Lute3gS6nahObDY4tGVa5U8/BzBPO9FQ6qBbs+Pxei4oQW04I2n0jIADyOoFNhVXhCZYfd8+k/DRHOcZyxzTH2Xlxk095hXdIp6CrTH8GNmawEs6jMvbQpNMJs+0MG4rw7oaqd68dnSOnWzsZILj9KCO+mM7aGWXYt7iplgnfXuvEArO2M9phmEfxWM+Yc1ZTHZo8FrMb2Ip5lwydq4yrCkeenyGfYQEyALy5cDleKTNDuyvdekfpaezbcQupbsdtp9c+hvobgk3ZWW0RBYSK7gmatGG7wMDewWme6LSes2ouZyj3BxjrGP5aM5hQwfOQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDICj-0005IS-Fa for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v3 21/51] gnu: libedit: Fix [cross-]build with gcc-14 for 32bit. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 06:59:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74290@debbugs.gnu.org Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173199954120040 (code B ref 74290); Tue, 19 Nov 2024 06:59:17 +0000 Received: (at 74290) by debbugs.gnu.org; 19 Nov 2024 06:59:01 +0000 Received: from localhost ([127.0.0.1]:40542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDICT-0005D9-90 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 01:59:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBv-00057e-JF for 74290@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDI9j-0003zr-4e; Tue, 19 Nov 2024 01:56:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=iZ7gvj8TZhmo++vO5wvgaIjArhnfvdAxNWoJeaXJfSU=; b=eptyeAgv6P/PoxhZoIOE E8bV0FaE6Qfxs21T8o3bIDULs8Q8zTNxcE27co99IfSwWHp/c3w7/9MJA/k+YamMR4WfkCdxoPZP7 N7SWHm8KlmUY9biYP2zwqjqp1R6OKzVx6OW1KlT95/jkV/rR4Rv61zQTEVZitaQVsTKKdZfiqy0Vv onqpCUDsyu2yr6EtoOyrz5Q9F4vkWY1z975YAcykmgg80IWMUsNbBLwEh1uGzmvw/qC/rJ5IQ8rC4 hMR0AfAnJjrTJXV2zzKXnrio4zqrB+xrle5E+fUXbkBeVA6GiRYUI8uIHpgjFoNCa+AgYUaAuo4WQ 1FCf2b2uFf7pWg==; From: Janneke Nieuwenhuizen Date: Tue, 19 Nov 2024 07:54:51 +0100 Message-ID: <183d4ea53dbc21e1271b7fe0b7e8e3a6303da264.1731999203.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 * gnu/packages/libedit.scm (libedit)[arguments]: When cross-compiling to a 32bit host, add CFLAGS to #:configure-flags to disable a breaking warning. Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922 --- gnu/packages/libedit.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/libedit.scm b/gnu/packages/libedit.scm index f04d3aafe4..252f8a4966 100644 --- a/gnu/packages/libedit.scm +++ b/gnu/packages/libedit.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019 Gábor Boskovits ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,8 +22,10 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages libedit) + #:use-module (guix gexp) #:use-module (guix licenses) #:use-module (guix packages) + #:use-module (guix utils) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages ncurses)) @@ -39,6 +42,11 @@ (define-public libedit (sha256 (base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v")))) (build-system gnu-build-system) + (arguments + (if (and (%current-target-system) (target-x86-32?)) + (list #:configure-flags + #~(list "CFLAGS=-g -O2 -Wno-incompatible-pointer-types")) + '())) (inputs (list ncurses)) (home-page "https://thrysoee.dk/editline/")