From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YOEyLPKxXmE+8gAAgWs5BA (envelope-from ) for ; Thu, 07 Oct 2021 10:38:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WHi8J/KxXmHMeAAAbx9fmQ (envelope-from ) for ; Thu, 07 Oct 2021 08:38:10 +0000 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 3B1C82DE7E for ; Thu, 7 Oct 2021 10:38:10 +0200 (CEST) Received: from localhost ([::1]:57782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYOun-0002h4-AB for larch@yhetil.org; Thu, 07 Oct 2021 04:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYOug-0002eJ-8t for guix-patches@gnu.org; Thu, 07 Oct 2021 04:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYOug-0007Qe-0h for guix-patches@gnu.org; Thu, 07 Oct 2021 04:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYOuf-0006oC-S6 for guix-patches@gnu.org; Thu, 07 Oct 2021 04:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51067] [PATCH] gnu: Add traditional vi (ex-vi) Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 08:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Foo Chuan Wei , 51067@debbugs.gnu.org Received: via spool by 51067-submit@debbugs.gnu.org id=B51067.163359584826131 (code B ref 51067); Thu, 07 Oct 2021 08:38:01 +0000 Received: (at 51067) by debbugs.gnu.org; 7 Oct 2021 08:37:28 +0000 Received: from localhost ([127.0.0.1]:45972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYOu7-0006nP-Uq for submit@debbugs.gnu.org; Thu, 07 Oct 2021 04:37:28 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:46560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYOu6-0006nE-E1 for 51067@debbugs.gnu.org; Thu, 07 Oct 2021 04:37:26 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id 2wdQ2600V0mfAB406wdRFa; Thu, 07 Oct 2021 10:37:25 +0200 Message-ID: From: Maxime Devos Date: Thu, 07 Oct 2021 10:37:24 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-45YH96207uQLNlu5YCEj" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633595845; bh=B85hMSuPZy184wYt+WX+jGExQM57iSxLEy1PaIhNhEY=; h=Subject:From:To:Date:In-Reply-To:References; b=CnCovWmiu5YCxmhZPeGbdcq58KnsZRb20k/DEs0q+CNpZxbN6uzmSA5DiFIJJmDSL PkNZiwDVybI4hQ6YCv4q/G/8eJCIhlVxI1LqBqL13aWkYpSRfhYv7aJa9uhLe+ydsQ SyeeJIUuJqsYXRWTwK2AR+72VbPOy3RhoSNqNyZtsc8wuxyaK0SP8lyvwf2MdH09Uq sx1k5uTsSCOvLsZP6B5g5Jg8Cp4EcyPjxuw2BrSahk+959tBbkjlU2L7gTZmnISEay orQjygrehkP6gd6VoHMxofx/3N4FIGAC8nHaGM6/pp3G5qrT0OlQbFNomXtk70CWHA BsVyCCptYh88g== 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633595890; 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: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=B85hMSuPZy184wYt+WX+jGExQM57iSxLEy1PaIhNhEY=; b=WEZk+YBftG7a68/4+0xyK7FbRA6SS0y8KitRLvBbU8NbHJvCjojJJZVTsjIquBP+qbNKfM aMebGyy/Dx1Jkt/M3YcgsuX2xhKYXNxOOarztEpO9QTAYNMLAq+wMSdd8kSqiM/dkfucya g8BQ0YNm7O7tlu/pduB6h/nfC7D5SU6Zb7ZmLD7ufTwLj0KgMfpQRfsqmtolutOQ7i9kaG VP5gkUZBFVm2jdPFC3YQ2XLGGRKSniwVXb27OYiMKXHS0Z42PlCQHv6z90Wa9VJy/90/BQ XidAj6L5t9GQFBxQDY5I69rn1MLrFzIr+4UgJtjDcKOkl9ylzKgoG9XnpldvKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633595890; a=rsa-sha256; cv=none; b=Fr0BwYOyNX7N31aA+xII8UKACWX7sjADiRJTFZLt4kSdZw87z49jL0U6tbmZMqKR52Q9fi dT7vIXLYbuS0E2fXf0j9TKHtSJPWyp8QSH25hTEH7KwP4OejfTWIHOPKHIX6shYdizQjVE Elsfqv4Boq5xGbx/EeSMO9ljERXLtA6DFznPM1M8/w9kZ8/gQzgfCqzDM/kG8Y4epLuuNx qKshRKHmmUYBUuYSXuSwFoAj8StKQTWGXDhqonBR3gD/nP/wLJd0xMfevCp28Z4MJ0jfWU uqCsHWlj1zFGd0vNhZFmrkXTLo4L5pUuRI/SzrQWe9aAcitVMYisKs0JAvXqGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=CnCovWmi; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=CnCovWmi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3B1C82DE7E X-Spam-Score: -2.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8j6oJVBb8kW0 --=-45YH96207uQLNlu5YCEj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Foo Chuan Wei schreef op do 07-10-2021 om 05:46 [+0000]: > * gnu/packages/text-editors.scm (ex-vi): New public variable. > --- > gnu/packages/patches/ex-vi-makefile.patch | 53 +++++++++++++++++++++++ > gnu/packages/text-editors.scm | 30 +++++++++++++ > 2 files changed, 83 insertions(+) > create mode 100644 gnu/packages/patches/ex-vi-makefile.patch >=20 > diff --git a/gnu/packages/patches/ex-vi-makefile.patch b/gnu/packages/pat= ches/ex-vi-makefile.patch > new file mode 100644 > index 0000000000..d835eb981d > --- /dev/null > +++ b/gnu/packages/patches/ex-vi-makefile.patch > @@ -0,0 +1,53 @@ > +diff -ur ex-050325-orig/Makefile ex-050325/Makefile > +--- ex-050325-orig/Makefile > ++++ ex-050325/Makefile > +@@ -75,11 +75,13 @@ > + # @(#)Makefile 1.50 (gritter) 2/20/05 > + # > +=20 > ++CC =3D gcc That won't work when cross-compiling. When cross-compiling, it should be set to something like ARCHITECTURE-linux-gnu-gcc instead. I'd suggest setting ,(string-append "CC=3D" (cc-for-target)) in #:make-flag= s instead. To test cross-compilation, you can try =E2=80=98make && ./pre-inst-env guix build ex-vi --target=3Daarch64-linux-g= nu=E2=80=99. Greetings, Maxime. --=-45YH96207uQLNlu5YCEj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYV6xxBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jYpAQDaXu5+aiFQBQZ79Id6+JoYnZi/ ImByxwxrgRVGE8pdSQD/Udm4xbyaki9Fne/5/kaCyVvFrZ1YVpBsoKX5kv1jgwU= =fjZk -----END PGP SIGNATURE----- --=-45YH96207uQLNlu5YCEj--