Skip to content

Commit

Permalink
tmate: rebuild for msgpack-c v6
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Sep 27, 2024
1 parent 9c20cbc commit 09fd00a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tmate/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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')
Expand All @@ -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
Expand Down
21 changes: 21 additions & 0 deletions tmate/msgpack-v6.patch
Original file line number Diff line number Diff line change
@@ -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(

0 comments on commit 09fd00a

Please sign in to comment.