From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oMaQF+7mQmd8vQAA62LTzQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 08:42:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oMaQF+7mQmd8vQAA62LTzQ (envelope-from ) for ; Sun, 24 Nov 2024 09:42:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="OF/SgGpv"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=B8FXbAfU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732437742; a=rsa-sha256; cv=none; b=bUiVJhsPobladgwXBsxZFhE2LFG6BmL3rdwBInWzPVlIGSaWxN531GTwcI0ZSnckQP9RoF IUw0R/uHVRo67ExPLc5bt9VAXepO2t5Fl83G3WZh1HvWsvzE62BLNwPJyK/sX5z7LKphiL dddFOT1V+RQdG9+ZrTAnorpM1J2vlHHM4iIfmlqwDdpTcDCb8D4jtufBS/bvNv6VkhebIw N1tmq4IKifmIQR3OAGNHX8COW2iOhfnmJyRuPnskIM4Vgo0neklGYw9+P/6UHxy7tOLvfW WHDBlAzu0Kt5oGyTMIX6i/hpVmxFT7TfLhmKdTzuN7fdALk3pX34xeAe6RUQRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="OF/SgGpv"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=B8FXbAfU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732437742; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iZ7gvj8TZhmo++vO5wvgaIjArhnfvdAxNWoJeaXJfSU=; b=tHyBc5yB0GgA6jO3LSTlx3YmSMfgAakyyXgXstKmZVfmSE+1jfp84Cu4AbcCE0AHk7cUr0 0/4yPZjeXj4p2bV0mPykl0Qns/TrKIWGKdqbYRSqpdRCQ/uo4lsr21p78BcYW1oCrztvvK FOx6phufDTX35qxK62ZxcqnRs/JF5fzC+EfupOC28bJr3CF1Wm5nRq5LPNQjvsvudRRAQg drhty3VBXOYHQF3Vb4I+Baj5XV9zyqPHyMhOnQHR/kGmYIlxXk8FmYDQcGM2UygFlW1hHs EdTPPqggkYB81ycJMj8UHqx/3/u67xRoxPhTZ1JDPS7erhknLlB7CNJZBvfZKg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 11B72538D for ; Sun, 24 Nov 2024 09:42:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF7W0-0001jM-BD; Sun, 24 Nov 2024 02:58:44 -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 1tF7Uc-0000Ht-Lf for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57: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 1tF7UW-0002LS-HM for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57: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=OF/SgGpvTNFbKx8DqhfdQfzycF3JopOav0o9tNn8V7TdeETn+n5toJkQ9h0+pVjLka5qLC9ouVvqNT+1/Tl2hzIcIGyw5w950wTXCVZLBnmv0u5X5mRlenZWrHudQKYRBS8TgrNPaHyvhKshOOC5y2Nx27pvAefH8dySXLTdRo2uxyddCoLPL0ayZa4P5xcP6XTHwmE8HcF4DQW9KsmJi4rb5vn57e7ZSnKRIs2BuMs1yHqeZgxz+wEl2O1P4DtfIg0H6DfE61bkg6W8J0x5m8pxmuLSoV+pXTrc9ET8DFiE4rXAxw5H4ErOimeFCdK5PSzfhKvNFae//lZFKllfxA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF7UW-0004hp-BS for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v4 21/58] 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: Sun, 24 Nov 2024 07:57:12 +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.173243500717766 (code B ref 74290); Sun, 24 Nov 2024 07:57:12 +0000 Received: (at 74290) by debbugs.gnu.org; 24 Nov 2024 07:56:47 +0000 Received: from localhost ([127.0.0.1]:60759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7U6-0004cN-HB for submit@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7Tf-0004Xo-7n for 74290@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:20 -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 1tF7Ta-00025Q-12; Sun, 24 Nov 2024 02:56:14 -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=B8FXbAfUq4z1yM9UDITM DuMfY3NtnKaQObM5jkYw6xJG5sofichjDOn3UydXtTtHpMIKZJtDgX+IIVP//QxN7umVum5FaPOOZ 8mzWw0+0guPQ5q4dEJNgP8tZwDwrkhKnjZq0aWp027Owp903zCFrWk/WhpvR+4yIcIljBj0/f9HMs fxklHb9cuK6z6kaFlQswxSFZe20QaIO/2KrL9hff8P0V5gr37WgAfeCSqYHSR9rnFzH4BXMWwtrj9 680lPkqWriQ5s5cawK+3702dvLgsxKrXsPEiZBCdk+NphLLa58VaMvJX8WnNyc40B9LR5kTBuSb35 pqLiln5Hv90NTw==; From: Janneke Nieuwenhuizen Date: Sun, 24 Nov 2024 08:54:44 +0100 Message-ID: <8a26c747401226b6e942ab890fe2e605b6bd8680.1732434271.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.53 X-Spam-Score: -3.53 X-Migadu-Queue-Id: 11B72538D X-Migadu-Scanner: mx12.migadu.com X-TUID: xqt+QA09y6mR * 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/") -- 2.46.0