From c49a1dad52f6556757dc93f787c84cac76629435 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Tue, 7 Mar 2023 15:44:29 +0800 Subject: [PATCH] tmate-ssh-server: fix build against msgpack-c 6.0 This patch is taken from https://git.alpinelinux.org/aports/commit/?id=f923597f4bdea424dc28b1d026269df060596fac Signed-off-by: Tianling Shen --- net/tmate-ssh-server/Makefile | 2 +- net/tmate-ssh-server/patches/010-msgpack-c.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/tmate-ssh-server/patches/010-msgpack-c.patch diff --git a/net/tmate-ssh-server/Makefile b/net/tmate-ssh-server/Makefile index c5ffe3dece..f45a7f5fa2 100644 --- a/net/tmate-ssh-server/Makefile +++ b/net/tmate-ssh-server/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tmate-ssh-server PKG_VERSION:=511fd2bd852464e76824279609a34ee93fe148a4 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tmate-io/tmate-ssh-server/tar.gz/$(PKG_VERSION)? diff --git a/net/tmate-ssh-server/patches/010-msgpack-c.patch b/net/tmate-ssh-server/patches/010-msgpack-c.patch new file mode 100644 index 0000000000..f18fcd5aac --- /dev/null +++ b/net/tmate-ssh-server/patches/010-msgpack-c.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -193,7 +193,7 @@ fi + + PKG_CHECK_MODULES( + MSGPACK, +- msgpack >= 1.2.0, ++ msgpack-c >= 1.2.0, + [ + CPPFLAGS="$MSGPACK_CFLAGS $CPPFLAGS" + LIBS="$MSGPACK_LIBS $LIBS"