diff options
| author | alperak <alperyasinak1@gmail.com> | 2023-11-28 12:55:02 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-28 08:55:43 -0800 |
| commit | 69d80c3a192d494daf3bd7df7310d9f2fbb1907b (patch) | |
| tree | 95ecd4f12b14584eeeca7c34fec79cad5c627a3b | |
| parent | 5a77dd140c6ccf6419a433c3639d46331dc3c6a1 (diff) | |
| download | meta-openembedded-69d80c3a192d494daf3bd7df7310d9f2fbb1907b.tar.gz | |
tmate: Fix finding msgpack 6+
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/tmate/files/0001-fix-finding-msgpack.patch | 43 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/tmate/tmate_2.4.0.bb | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/tmate/files/0001-fix-finding-msgpack.patch b/meta-oe/recipes-extended/tmate/files/0001-fix-finding-msgpack.patch new file mode 100644 index 0000000000..46463abbc4 --- /dev/null +++ b/meta-oe/recipes-extended/tmate/files/0001-fix-finding-msgpack.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | From 26a5aa6f70a0b98962884559668b3879dfe6fd02 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> | ||
| 3 | Date: Tue, 28 Nov 2023 12:32:51 +0300 | ||
| 4 | Subject: [PATCH] Fix finding msgpack 6+ | ||
| 5 | |||
| 6 | msgpack.pc was renamed to msgpack-c.pc upstream in msgpack/msgpack-c#1053. | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/tmate-io/tmate/pull/281] | ||
| 9 | |||
| 10 | Co-authored-by: Sam James <sam@gentoo.org> | ||
| 11 | Signed-off-by: alperak <alperyasinak1@gmail.com> | ||
| 12 | --- | ||
| 13 | configure.ac | 14 +++++++++++++- | ||
| 14 | 1 file changed, 13 insertions(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/configure.ac b/configure.ac | ||
| 17 | index 028d5559..3badf9e2 100644 | ||
| 18 | --- a/configure.ac | ||
| 19 | +++ b/configure.ac | ||
| 20 | @@ -207,7 +207,19 @@ PKG_CHECK_MODULES( | ||
| 21 | LIBS="$MSGPACK_LIBS $LIBS" | ||
| 22 | found_msgpack=yes | ||
| 23 | ], | ||
| 24 | - found_msgpack=no | ||
| 25 | + [ | ||
| 26 | + # msgpack.pc was renamed to msgpack-c.pc in 6.0.0. | ||
| 27 | + PKG_CHECK_MODULES( | ||
| 28 | + MSGPACKC, | ||
| 29 | + msgpack-c >= 1.1.0, | ||
| 30 | + [ | ||
| 31 | + CPPFLAGS="$MSGPACKC_CFLAGS $CPPFLAGS" | ||
| 32 | + LIBS="$MSGPACKC_LIBS $LIBS" | ||
| 33 | + found_msgpack=yes | ||
| 34 | + ], | ||
| 35 | + found_msgpack=no | ||
| 36 | + ) | ||
| 37 | + ] | ||
| 38 | ) | ||
| 39 | if test "x$found_msgpack" = xno; then | ||
| 40 | AC_MSG_ERROR("msgpack >= 1.1.0 not found") | ||
| 41 | -- | ||
| 42 | 2.25.1 | ||
| 43 | |||
diff --git a/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb b/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb index 53030f2779..4e66d8d05a 100644 --- a/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb +++ b/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb | |||
| @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f7d9aab84ec6567139a4755c48d147fb" | |||
| 7 | DEPENDS:append = " libevent libssh msgpack-c ncurses" | 7 | DEPENDS:append = " libevent libssh msgpack-c ncurses" |
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | git://github.com/tmate-io/tmate.git;protocol=https;branch=master \ | 9 | git://github.com/tmate-io/tmate.git;protocol=https;branch=master \ |
| 10 | file://0001-fix-finding-msgpack.patch \ | ||
| 10 | " | 11 | " |
| 11 | 12 | ||
| 12 | SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b" | 13 | SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b" |
