summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch28
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch17
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.43.bb (renamed from meta/recipes-support/libgpg-error/libgpg-error_1.42.bb)3
3 files changed, 10 insertions, 38 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch b/meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch
deleted file mode 100644
index ae424cdb9a..0000000000
--- a/meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From: David Michael <fedora.dm0@gmail.com>
2Date: Fri, 26 Mar 2021 07:06:50 +0000 (+0900)
3Subject: build: Fix generation of lock-obj-pub.native.h for cross build.
4X-Git-Url: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commitdiff_plain;h=33593864cd54143db594c4237bba41e14179061c
5
6build: Fix generation of lock-obj-pub.native.h for cross build.
7
8* src/gen-lock-obj.sh: Capture echo output with quotes.
9
10Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374
11Signed-off-by: David Michael <fedora.dm0@gmail.com>
12Upstream-Status: Backport
13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14---
15
16diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
17index a710f0c..258eec6 100755
18--- a/src/gen-lock-obj.sh
19+++ b/src/gen-lock-obj.sh
20@@ -38,7 +38,7 @@
21 # AWK=gawk ./gen-lock-obj.sh
22 #
23
24-if test -n `echo -n`; then
25+if test -n "`echo -n`"; then
26 ECHO_C='\c'
27 ECHO_N=''
28 else
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
index aea8eba5fa..ff15759309 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
@@ -1,4 +1,4 @@
1From 62651c5c7b4a391f16dbe1b09c6e220efe5c8a35 Mon Sep 17 00:00:00 2001 1From 52aae746760ce5b88e61ce994f5055e4ce809821 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 29 Mar 2018 15:12:17 +0800 3Date: Thu, 29 Mar 2018 15:12:17 +0800
4Subject: [PATCH] support pkgconfig 4Subject: [PATCH] support pkgconfig
@@ -14,14 +14,14 @@ Signed-off-by: Armin Kuster <akuster808@gmail.com>
14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> 14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
15 15
16--- 16---
17 src/gpg-error.m4 | 159 +---------------------------------------------- 17 src/gpg-error.m4 | 160 +----------------------------------------------
18 1 file changed, 3 insertions(+), 156 deletions(-) 18 1 file changed, 3 insertions(+), 157 deletions(-)
19 19
20diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 20diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
21index d910754..76f045c 100644 21index 56a5d07..28920ae 100644
22--- a/src/gpg-error.m4 22--- a/src/gpg-error.m4
23+++ b/src/gpg-error.m4 23+++ b/src/gpg-error.m4
24@@ -27,156 +27,12 @@ dnl is added to the gpg_config_script_warn variable. 24@@ -27,157 +27,12 @@ dnl is added to the gpg_config_script_warn variable.
25 dnl 25 dnl
26 AC_DEFUN([AM_PATH_GPG_ERROR], 26 AC_DEFUN([AM_PATH_GPG_ERROR],
27 [ AC_REQUIRE([AC_CANONICAL_HOST]) 27 [ AC_REQUIRE([AC_CANONICAL_HOST])
@@ -63,7 +63,7 @@ index d910754..76f045c 100644
63- min_gpg_error_version=ifelse([$1], ,1.33,$1) 63- min_gpg_error_version=ifelse([$1], ,1.33,$1)
64- ok=no 64- ok=no
65- 65-
66- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no) 66- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH])
67- if test "$GPGRT_CONFIG" != "no"; then 67- if test "$GPGRT_CONFIG" != "no"; then
68- # Determine gpgrt_libdir 68- # Determine gpgrt_libdir
69- # 69- #
@@ -78,7 +78,8 @@ index d910754..76f045c 100644
78- # Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64 78- # Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64
79- # It is assumed that CC is specified to the one of host on cross build. 79- # It is assumed that CC is specified to the one of host on cross build.
80- if libdir_candidates=$(${CC:-cc} -print-search-dirs | \ 80- if libdir_candidates=$(${CC:-cc} -print-search-dirs | \
81- sed -n -e "/^libraries/{s/libraries: =//;s/:/\n/gp}"); then 81- sed -n -e "/^libraries/{s/libraries: =//;s/:/\\
82-/g;p;}"); then
82- # From the output of -print-search-dirs, select valid pkgconfig dirs. 83- # From the output of -print-search-dirs, select valid pkgconfig dirs.
83- libdir_candidates=$(for dir in $libdir_candidates; do 84- libdir_candidates=$(for dir in $libdir_candidates; do
84- if p=$(cd $dir 2>/dev/null && pwd); then 85- if p=$(cd $dir 2>/dev/null && pwd); then
@@ -181,7 +182,7 @@ index d910754..76f045c 100644
181 fi 182 fi
182 if test x"$gpg_error_config_host" != xnone ; then 183 if test x"$gpg_error_config_host" != xnone ; then
183 if test x"$gpg_error_config_host" != x"$host" ; then 184 if test x"$gpg_error_config_host" != x"$host" ; then
184@@ -192,15 +48,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR], 185@@ -193,15 +48,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
185 fi 186 fi
186 fi 187 fi
187 else 188 else
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
index 04f5760b76..fe3824b8e0 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
@@ -17,11 +17,10 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
17SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ 17SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
18 file://pkgconfig.patch \ 18 file://pkgconfig.patch \
19 file://0001-Do-not-fail-when-testing-config-scripts.patch \ 19 file://0001-Do-not-fail-when-testing-config-scripts.patch \
20 file://fix-cross.patch \
21 file://0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch \ 20 file://0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch \
22 " 21 "
23 22
24SRC_URI[sha256sum] = "fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23" 23SRC_URI[sha256sum] = "a9ab83ca7acc442a5bd846a75b920285ff79bdb4e3d34aa382be88ed2c3aebaf"
25 24
26BINCONFIG = "${bindir}/gpg-error-config" 25BINCONFIG = "${bindir}/gpg-error-config"
27 26