[arch-commits] Commit in flatbuffers/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Mon Aug 29 02:10:58 UTC 2022
Date: Monday, August 29, 2022 @ 02:10:57
Author: yan12125
Revision: 1285155
upgpkg: flatbuffers 2.0.7-2; backport a patch for https://bugs.archlinux.org/task/75720
Modified:
flatbuffers/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 00:28:36 UTC (rev 1285154)
+++ PKGBUILD 2022-08-29 02:10:57 UTC (rev 1285155)
@@ -6,7 +6,7 @@
pkgname=(flatbuffers python-flatbuffers)
# https://github.com/google/flatbuffers/blob/master/CHANGELOG.md
pkgver=2.0.7
-pkgrel=1
+pkgrel=2
pkgdesc='An efficient cross platform serialization library for C++, with support for Java, C# and Go'
arch=(x86_64)
url='https://google.github.io/flatbuffers/'
@@ -13,8 +13,10 @@
license=(Apache)
depends=(gcc-libs)
makedepends=(cmake python-setuptools python-numpy)
-source=(https://github.com/google/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz)
-sha256sums=('4c7986174dc3941220bf14feaacaad409c3e1526d9ad7f490366fede9a6f43fa')
+source=(https://github.com/google/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz
+ $pkgbase-issue7486.patch::https://github.com/google/flatbuffers/commit/fef2ffc4d09ff6f9d878f7b426c57abafc0bb1ca.patch)
+sha256sums=('4c7986174dc3941220bf14feaacaad409c3e1526d9ad7f490366fede9a6f43fa'
+ '4a9243b333733f303cc6ef7ca444336e4a239e7f6a9d7da39cf7b8ad925b5a7c')
prepare() {
sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
@@ -22,6 +24,9 @@
cd $pkgbase-$pkgver
# Work-around missing out-of-source build support in Python tests
sed -i 's#${test_dir}/../flatc#${test_dir}/../../build/flatc#' tests/PythonTest.sh
+
+ # Backport for https://bugs.archlinux.org/task/75720
+ patch -Np1 -i ../$pkgbase-issue7486.patch
}
build() {
More information about the arch-commits
mailing list