tmate: rebuild for msgpack-c v6

This commit is contained in:
Christoph Reiter 2024-09-27 09:59:40 +02:00
parent 6cbf022103
commit 52d8f67a43
2 changed files with 28 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pkgname=tmate
pkgver=2.4.0
pkgrel=3
pkgrel=4
pkgdesc="Instant Terminal Sharing http://tmate.io/"
arch=('i686' 'x86_64')
license=('ISC')
@ -17,16 +17,19 @@ source=("$pkgname"::"git+https://github.com/tmate-io/tmate.git#tag=$pkgver"
"0002-configure-handle-MSYS2.patch"
"0003-do-not-check-directory-permissions.patch"
"0004-Avoid-unsupported-GCC-option.patch"
"0005-Try-to-side-step-libevent-for-DNS-resolution.patch")
sha256sums=('SKIP'
"0005-Try-to-side-step-libevent-for-DNS-resolution.patch"
"msgpack-v6.patch")
sha256sums=('9196af6e5e48c23df9e3846f7aab1e48a40d27ba19a22b9064bdb4b89bfdcf65'
'1914efec5861967a9a4e024cde82fbc758b414f450f952814d1ff861605e41fe'
'b3e80c90cd0473f12bd5ed1f7d725c36fc97f0617bd79438cd377ec55509ce71'
'f85d637de622440e14208f4a45f33a5ecc98f84ce5d678b8e2d3169d724ddf6b'
'b2d916cb542cdd6e70f4864c8eda4fcf2d16c3d3573990f3fa3b3e2200c74a5f'
'c60a65e8a2dfc37fb58d661cfeb211dc529bef7a89dc09198e1da9d0e0faecac')
'c60a65e8a2dfc37fb58d661cfeb211dc529bef7a89dc09198e1da9d0e0faecac'
'a778da70f603bc76c47161e2aaf7eb13940d6e758b44d9b81343c535d0b8ae3c')
prepare() {
cd ${srcdir}/$pkgname
patch -p1 -i ${srcdir}/msgpack-v6.patch
patch -p1 -i ${srcdir}/0001-tmux-Inherit-MSYSTEM-variable.patch
patch -p1 -i ${srcdir}/0002-configure-handle-MSYS2.patch
patch -p1 -i ${srcdir}/0003-do-not-check-directory-permissions.patch

21
tmate/msgpack-v6.patch Normal file
View File

@ -0,0 +1,21 @@
diff --unified --recursive --text --new-file tmate-2.4.0.orig/configure.ac tmate-2.4.0/configure.ac
--- tmate-2.4.0.orig/configure.ac 2024-09-14 16:52:14.116386988 +0200
+++ tmate-2.4.0/configure.ac 2024-09-14 16:52:46.076480650 +0200
@@ -201,7 +201,7 @@
PKG_CHECK_MODULES(
MSGPACK,
- msgpack >= 1.1.0,
+ msgpack-c >= 1.1.0,
[
CPPFLAGS="$MSGPACK_CFLAGS $CPPFLAGS"
LIBS="$MSGPACK_LIBS $LIBS"
@@ -210,7 +210,7 @@
found_msgpack=no
)
if test "x$found_msgpack" = xno; then
- AC_MSG_ERROR("msgpack >= 1.1.0 not found")
+ AC_MSG_ERROR("msgpack-c >= 1.1.0 not found")
fi
PKG_CHECK_MODULES(