From 79e98db17c49d6802064a20a90fb68f0b65b0b51 Mon Sep 17 00:00:00 2001 From: Figue Date: Wed, 16 Oct 2019 21:45:08 +0200 Subject: [PATCH] Workaround to fix build with rustc 1.38 --- .SRCINFO | 2 +- PKGBUILD | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 89d0a6e41af9e..4db84fa8c2bf2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = icecat pkgdesc = GNU version of the Firefox browser. pkgver = 60.9.0 - pkgrel = 1 + pkgrel = 2 url = http://www.gnu.org/software/gnuzilla/ arch = x86_64 license = GPL diff --git a/PKGBUILD b/PKGBUILD index 2f696ab825fd2..95f54884baebb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgname=icecat pkgver=60.9.0 _pkgver=6634ee332979f7a78b11cbf09a77364143a981ed -pkgrel=1 +pkgrel=2 pkgdesc="GNU version of the Firefox browser." arch=(x86_64) url="http://www.gnu.org/software/gnuzilla/" @@ -24,7 +24,7 @@ optdepends=('networkmanager: Location detection via available WiFi networks' source=(http://git.savannah.gnu.org/cgit/gnuzilla.git/snapshot/gnuzilla-${_pkgver}.tar.gz icecat.desktop icecat-safe.desktop - rust_133-part0.patch 'rust_133-part1.patch::https://bugzilla.mozilla.org/attachment.cgi?id=9046663' 'rust_133-part2.patch::https://bugzilla.mozilla.org/attachment.cgi?id=9046664' + rust_133-part0.patch 'rust_133-part1.patch::https://bugzilla.mozilla.org/attachment.cgi?id=9046663' 'rust_133-part2.patch::https://bugzilla.mozilla.org/attachment.cgi?id=9046664' deny_missing_docs.patch patch_makeicecat_stuff.patch fix-addons.patch) sha256sums=('2655c3a8f656435e636fcc7774f3fa6e62bf1f98056a64b8b84fbec9a03f7b0c' @@ -64,6 +64,9 @@ prepare() { # fixes installation of those addons which don't have ID on IceCat ("Cannot find id for addon" error). Thanks to kitsunyan. patch -Np1 -i ${srcdir}/fix-addons.patch + # Fix for error: static declaration of 'gettid' follows non-static declaration + sed -i -e "s/static inline pid_t gettid/inline pid_t gettid/" tools/profiler/core/platform.h + printf '%b' " \e[1;36m->\e[0m\033[1m Starting build...\n" cat >.mozconfig <