[arch-commits] Commit in google-glog/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat May 15 07:47:08 UTC 2021
Date: Saturday, May 15, 2021 @ 07:47:08
Author: arojas
Revision: 934599
Fix ABI break (FS#70861)
Modified:
google-glog/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 07:45:05 UTC (rev 934598)
+++ PKGBUILD 2021-05-15 07:47:08 UTC (rev 934599)
@@ -3,7 +3,7 @@
pkgname=google-glog
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="Logging library for C++"
arch=('x86_64')
license=('custom:BSD3')
@@ -10,9 +10,15 @@
url='https://github.com/google/glog'
depends=('gflags')
makedepends=('cmake')
-source=("glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz")
-sha512sums=('445e4338f3d81cd0b065f2da9c6ce343c243263ca144cea424ef97531a4e9e09c06ffd6942ac01c5213a8003c75cfbbede3c4028d12f0134f23ff29314769c1a')
+source=("glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz"
+ https://github.com/google/glog/commit/0b3d4cb4.patch)
+sha512sums=('445e4338f3d81cd0b065f2da9c6ce343c243263ca144cea424ef97531a4e9e09c06ffd6942ac01c5213a8003c75cfbbede3c4028d12f0134f23ff29314769c1a'
+ '89fecff7e0c23b8ade1ce6f2292790b0d01545e086ad89c4acad632a7d9937ca0ed572319b7b810082b75bcb329774076ed5471730bb24b9f1ec360dc903eaa9')
+prepare() {
+ patch -d glog-$pkgver -p1 < 0b3d4cb4.patch # Fix ABI break
+}
+
build() {
cmake -B build -S glog-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
More information about the arch-commits
mailing list