community/distcc to 3.3.5-1

This commit is contained in:
Kevin Mihelich 2021-01-05 14:42:20 +00:00
parent 3b017392fd
commit 4d405de47a

View file

@ -10,8 +10,8 @@
# - patch to allow zero timeout (INT_MAX time to complete)
pkgname=distcc
pkgver=3.3.3
pkgrel=9
pkgver=3.3.5
pkgrel=1
_gccver=10.2.0 # Current GCC version, used for symlinks. See FS#69044
pkgdesc='Distributed compilation service for C, C++ and Objective-C'
arch=(x86_64)
@ -22,7 +22,7 @@ makedepends=(git python)
optdepends=("gcc=$_gccver" python)
backup=(etc/conf.d/distccd
etc/distcc/hosts)
source=("git+$url#commit=4cde9bcfbda589abd842e3bbc652ce369085eaae" # tag: v3.3.3
source=("git+$url#commit=8d2a5709d249949e8177dcf08b56dbe7857daa7f" # tag: v3.3.5
distccd.conf.d
distccd.service
sysusers.conf
@ -39,11 +39,11 @@ prepare() {
./autogen.sh
sed -i 's/ install-gnome-data//g' Makefile.in
# FS#66418, support Python 3.9
find . -name "*.py" -type f -exec sed -i 's/e.clock(/e.perf_counter(/g' {} \;
find . -name '*.py' -type f -exec sed -i 's,e.clock(,e.perf_counter(,g' {} \;
}
build() {
cd "$pkgname"
cd $pkgname
export CFLAGS+=' -fcommon'
./configure \
@ -80,5 +80,3 @@ package() {
# FS#67629
install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/distccd.conf"
}
# getver: distcc.org