tmate-ssh-server: fix build against msgpack-c 6.0
authorTianling Shen <cnsztl@immortalwrt.org>
Tue, 7 Mar 2023 07:44:29 +0000 (15:44 +0800)
committerPaul Spooren <mail@aparcar.org>
Wed, 8 Mar 2023 22:49:10 +0000 (23:49 +0100)
This patch is taken from
https://git.alpinelinux.org/aports/commit/?id=f923597f4bdea424dc28b1d026269df060596fac

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
net/tmate-ssh-server/Makefile
net/tmate-ssh-server/patches/010-msgpack-c.patch [new file with mode: 0644]

index c5ffe3dece9c2e2277ccaeac4edece090d8ad3dc..f45a7f5fa211305deaa2ddcb633c01eb633ee062 100644 (file)
@@ -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 (file)
index 0000000..f18fcd5
--- /dev/null
@@ -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"