From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1264295-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F00EB1382C5 for <garchives@archives.gentoo.org>; Fri, 26 Mar 2021 13:15:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 422B9E0839; Fri, 26 Mar 2021 13:15:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2867DE0839 for <gentoo-commits@lists.gentoo.org>; Fri, 26 Mar 2021 13:15:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB7E1335DAF for <gentoo-commits@lists.gentoo.org>; Fri, 26 Mar 2021 13:15:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4DA704A8 for <gentoo-commits@lists.gentoo.org>; Fri, 26 Mar 2021 13:15:39 +0000 (UTC) From: "Lars Wendler" <polynomial-c@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org> Message-ID: <1616764531.0427b4fad29a1a5f8d5d60b02e5a8ef018061e91.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpg-error/, dev-libs/libgpg-error/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch dev-libs/libgpg-error/libgpg-error-1.42.ebuild X-VCS-Directories: dev-libs/libgpg-error/ dev-libs/libgpg-error/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 0427b4fad29a1a5f8d5d60b02e5a8ef018061e91 X-VCS-Branch: master Date: Fri, 26 Mar 2021 13:15:39 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e06eeecb-cc46-483b-8ddd-4f91e44a7c5a X-Archives-Hash: a5d2cb0a4940072c5d832691aac79bf7 commit: 0427b4fad29a1a5f8d5d60b02e5a8ef018061e91 Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> AuthorDate: Fri Mar 26 13:10:15 2021 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Fri Mar 26 13:15:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0427b4fa dev-libs/libgpg-error: fix cross-compiling 1.42 Closes: https://bugs.gentoo.org/778410 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> .../files/libgpg-error-1.42-cross_compile.patch | 32 ++++++++++++++++++++++ dev-libs/libgpg-error/libgpg-error-1.42.ebuild | 1 + 2 files changed, 33 insertions(+) diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch b/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch new file mode 100644 index 00000000000..78d98dd7b3d --- /dev/null +++ b/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch @@ -0,0 +1,32 @@ +From 33593864cd54143db594c4237bba41e14179061c Mon Sep 17 00:00:00 2001 +From: David Michael <fedora.dm0@gmail.com> +Date: Fri, 26 Mar 2021 16:06:50 +0900 +Subject: [PATCH] build: Fix generation of lock-obj-pub.native.h for cross + build. + +* src/gen-lock-obj.sh: Capture echo output with quotes. + +-- + +Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374 +Signed-off-by: David Michael <fedora.dm0@gmail.com> +--- + src/gen-lock-obj.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh +index a710f0c..258eec6 100755 +--- a/src/gen-lock-obj.sh ++++ b/src/gen-lock-obj.sh +@@ -38,7 +38,7 @@ + # AWK=gawk ./gen-lock-obj.sh + # + +-if test -n `echo -n`; then ++if test -n "`echo -n`"; then + ECHO_C='\c' + ECHO_N='' + else +-- +2.11.0 + diff --git a/dev-libs/libgpg-error/libgpg-error-1.42.ebuild b/dev-libs/libgpg-error/libgpg-error-1.42.ebuild index c6202ddd30f..2d6c54abbf7 100644 --- a/dev-libs/libgpg-error/libgpg-error-1.42.ebuild +++ b/dev-libs/libgpg-error/libgpg-error-1.42.ebuild @@ -28,6 +28,7 @@ MULTILIB_WRAPPED_HEADERS=( PATCHES=( "${FILESDIR}/${PN}-1.37-remove_broken_check.patch" + "${FILESDIR}/${P}-cross_compile.patch" ) src_prepare() {