From patchwork Sun Apr 23 20:27:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 22903 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B2D0C77B60 for ; Sun, 23 Apr 2023 20:27:27 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.35901.1682281644564828174 for ; Sun, 23 Apr 2023 13:27:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 7781E40C37; Sun, 23 Apr 2023 20:27:23 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hcSbeek-qmY9; Sun, 23 Apr 2023 20:27:23 +0000 (UTC) Received: from mail.denix.org (pool-100-15-88-116.washdc.fios.verizon.net [100.15.88.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 4DBF340C24; Sun, 23 Apr 2023 20:27:21 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 02F1D163829; Sun, 23 Apr 2023 16:26:40 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko , Ryan Eatmon Subject: [master/kirkstone][PATCH] input-utils: fix bashisms Date: Sun, 23 Apr 2023 20:27:19 +0000 Message-Id: <20230423202719.1921984-1-denis@denix.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 23 Apr 2023 20:27:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14342 From: Denys Dmytriyenko Add patch from Debian that fixes bashism in the Makefile. Signed-off-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon [cherry-pick from Dunfell, add Upstream-Status tag] Signed-off-by: Denys Dmytriyenko --- .../input-utils/fix-ftbfs-echo.patch | 21 +++++++++++++++++++ .../input-utils/input-utils_1.0.bb | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch diff --git a/meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch b/meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch new file mode 100644 index 00000000..e6631003 --- /dev/null +++ b/meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch @@ -0,0 +1,21 @@ +Description: Fix FTBFS due to -e leaking into Make.config + If /bin/sh is configured to point to dash, echo does not support -e switch + which is used by mk/Autoconf.mk file to generate Make.config. Use 'env echo' + instead. +Author: Dmitry Eremin-Solenikov +Bug-Debian: http://bugs.debian.org/750265 +Forwarded: no +Last-Update: 2014-07-09 +Upstream-Status: Inactive-Upstream [lastrelease: 2008-2012] + +--- input-utils-1.0.orig/mk/Autoconf.mk ++++ input-utils-1.0/mk/Autoconf.mk +@@ -162,7 +162,7 @@ config: Make.config + @true + + Make.config: $(srcdir)/GNUmakefile +- @echo -e "$(make-config-q)" > $@ ++ @env echo -e "$(make-config-q)" > $@ + @echo + @echo "Make.config written, edit if needed" + @echo diff --git a/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb b/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb index 064a6faa..ea3d1df1 100644 --- a/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb +++ b/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" PV = "1.0" PR = "r0" -SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/input-utils/input-utils_1.0.orig.tar.gz" +SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/input-utils/input-utils_1.0.orig.tar.gz \ + file://fix-ftbfs-echo.patch" SRC_URI:append:arm = " file://0001-autoconf-fix-for-cross-compilation-for-ARM.patch" SRC_URI[md5sum] = "3e58772e8647093b1de2f2c90bfb9ee8"