protobuf-c: update to 1.5.1

This commit is contained in:
Biswapriyo Nath
2025-03-22 06:12:22 +00:00
parent 61aa9da650
commit 3d5db2c6db

View File

@@ -3,8 +3,8 @@
_realname=protobuf-c
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.5.0
pkgrel=8
pkgver=1.5.1
pkgrel=1
pkgdesc="Protocol Buffers implementation in C (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -17,15 +17,11 @@ depends=("${MINGW_PACKAGE_PREFIX}-abseil-cpp"
"${MINGW_PACKAGE_PREFIX}-protobuf")
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-autotools")
source=("$url/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz"
"https://patch-diff.githubusercontent.com/raw/protobuf-c/protobuf-c/pull/711.patch")
sha256sums=('7b404c63361ed35b3667aec75cc37b54298d56dd2bcf369de3373212cc06fd98'
'33a17867e8c3ad6618165efed01af31b7f3c5d5fc8f5df86474a584e4bf4b448')
source=("$url/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz")
sha256sums=('20d1dc257da96f8ddff8be4dd9779215bbd0a6069ed53bbe9de38fa7629be06b')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
# Fix build against protobuf-26
patch -p1 -i "${srcdir}"/711.patch
autoreconf -fiv
}