From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 6I4UH3Q3PGe0fAEAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Nov 2024 07:00:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6I4UH3Q3PGe0fAEAqHPOHw (envelope-from ) for ; Tue, 19 Nov 2024 08:00:04 +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=WIGV3o4t; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=eptyeAgv; 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=1731999604; a=rsa-sha256; cv=none; b=LVbKwxJKNE9Bo3SL/weHk3/3C7Ip8Gi31jcQT+oPwRFTeW1lRQGniuhjJgIg+F93TTBYrK thTfA4chwXwgEmcyiObKTg/NZZkHqVJfnb3YSfHPmVb8Mm4hFTAZ5ifvaz5rCuWgGr86FC Dj2UnhU5vpDlY6zUC02KiW03ZBJ4H/10kyu+HvmaGB3n3wlMsc58AmAnC2vG+PD7jAMArU BktRnE60OwWsLUUXu/IxnvTnTa96c9cPAK37TcYgbDbdQZYa//CMIAklotpxx8zrvVf00E dnJ4ynKcmLZeLlVVOrf5M9pL1HtTCu/zmAmYyUeWIr6DFDk0Dn/wKdrCBK8Www== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WIGV3o4t; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=eptyeAgv; 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=1731999604; 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=fUCsscJlqr5Onq8OO3QvpX5ZAObnCHl/l3S4mimRIuEAaX3Wylr3XUy3x5/dMDkV4Bj0Wv /b7a4JylONCt+q5e7HfaEL+fNtmYjAl5l/gZcRDgCbsoFRmbL6z96/yEsbmlQpFktD8U6P uq3nt0epV2VvGvoqp/Smr6MRwTrW4D4pMercnu4Qa7c0ndnRcqTzytwQOhyzWMm+2WnpFp Qv2rhXSJpbWJj/xEkYWNQP/zVyG9Tnt2Yvxjqe6WzXm32mEPYPDrnwYNoGpwOzWj8BbuXc yoORCMtHAZ8OYT0Mikdhd1B62fM3JAJ++lXqgbr3vlXdIXE1WzLEbHzruLjG6Q== 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 0F27E89633 for ; Tue, 19 Nov 2024 08:00:04 +0100 (CET) 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 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: -0.52 X-Spam-Score: -0.52 X-Migadu-Queue-Id: 0F27E89633 X-Migadu-Scanner: mx12.migadu.com X-TUID: QCCNv+3u/yao * 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