[arch-commits] Commit in gc/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Nov 6 17:54:11 UTC 2021
Date: Saturday, November 6, 2021 @ 17:54:10
Author: arojas
Revision: 427412
Fix missing headers (FS#72648)
Modified:
gc/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-06 16:29:14 UTC (rev 427411)
+++ PKGBUILD 2021-11-06 17:54:10 UTC (rev 427412)
@@ -3,15 +3,23 @@
pkgname=gc
pkgver=8.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="A garbage collector for C and C++"
arch=('x86_64')
url="https://www.hboehm.info/gc/"
license=('GPL')
depends=('gcc-libs')
-source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf')
+source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ gc-missing-header.patch::https://patch-diff.githubusercontent.com/raw/ivmai/bdwgc/pull/389.patch)
+sha512sums=('ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf'
+ 'a89d46b6826b90184e1a2724c2a1a57a4a2a215245938500aa7a652bf7eee3e0205c36fbd27e450ac59824c07b16fd38987ea77a33a41eb38878701fb70e0ad9')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 < ../gc-missing-header.patch # Install missing header
+ ./autogen.sh
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --enable-cplusplus --disable-static
More information about the arch-commits
mailing list