commit:     c731bb716fde0c5cda0fbe7b81ee2371f09378c1
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  6 17:23:26 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jul  6 17:24:41 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c731bb71

libgpg-error: Fix cross compile

Fixes: 819c69b3 ("Bump libgpg-error to v1.42")
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../1.42/libgpg-error-1.42-cross_compile.patch     | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/patches/libgpg-error/1.42/libgpg-error-1.42-cross_compile.patch 
b/patches/libgpg-error/1.42/libgpg-error-1.42-cross_compile.patch
new file mode 100644
index 0000000..78d98dd
--- /dev/null
+++ b/patches/libgpg-error/1.42/libgpg-error-1.42-cross_compile.patch
@@ -0,0 +1,32 @@
+From 33593864cd54143db594c4237bba41e14179061c Mon Sep 17 00:00:00 2001
+From: David Michael <[email protected]>
+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 <[email protected]>
+---
+ 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
+

Reply via email to