diff options
| -rw-r--r-- | meta-oe/recipes-support/libssh2/files/0001-configure-Conditionally-undefine-backend-m4-macro.patch | 30 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libssh2/files/0001-configure-Conditionally-undefine-backend-m4-macro.patch b/meta-oe/recipes-support/libssh2/files/0001-configure-Conditionally-undefine-backend-m4-macro.patch new file mode 100644 index 0000000000..1128c7ea0c --- /dev/null +++ b/meta-oe/recipes-support/libssh2/files/0001-configure-Conditionally-undefine-backend-m4-macro.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From efe7101786193eaddb749c0583af6b54aec6f289 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 2 Feb 2021 18:45:16 -0800 | ||
| 4 | Subject: [PATCH] configure: Conditionally undefine backend m4 macro | ||
| 5 | |||
| 6 | Unlike the M4 builtin, this macro fails if macro is not defined | ||
| 7 | therefore recover the behavior of the builtin. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | configure.ac | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/configure.ac b/configure.ac | ||
| 16 | index fe5054a..758f8c2 100644 | ||
| 17 | --- a/configure.ac | ||
| 18 | +++ b/configure.ac | ||
| 19 | @@ -127,7 +127,7 @@ fi | ||
| 20 | m4_set_foreach([crypto_backends], [backend], | ||
| 21 | [AM_CONDITIONAL(m4_toupper(backend), test "$found_crypto" = "backend")] | ||
| 22 | ) | ||
| 23 | -m4_undefine([backend]) | ||
| 24 | +m4_ifdef([backend], [m4_undefine([backend])]) | ||
| 25 | |||
| 26 | |||
| 27 | # libz | ||
| 28 | -- | ||
| 29 | 2.30.0 | ||
| 30 | |||
diff --git a/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb b/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb index 4a5a05060c..0b8ccbd217 100644 --- a/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb +++ b/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb | |||
| @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca" | |||
| 9 | 9 | ||
| 10 | SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ | 10 | SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ |
| 11 | file://CVE-2019-17498.patch \ | 11 | file://CVE-2019-17498.patch \ |
| 12 | file://0001-configure-Conditionally-undefine-backend-m4-macro.patch \ | ||
| 12 | file://run-ptest \ | 13 | file://run-ptest \ |
| 13 | " | 14 | " |
| 14 | 15 | ||
