Package Details: buildcache 0.31.2-1

Git Clone URL: https://aur.archlinux.org/buildcache.git (read-only, click to copy)
Package Base: buildcache
Description: An advanced compiler accelerator
Upstream URL: https://gitlab.com/bits-n-bites/buildcache
Licenses: zlib
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 0
Popularity: 0.000000
First Submitted: 2021-08-23 07:16 (UTC)
Last Updated: 2024-10-17 07:29 (UTC)

Required by (1)

Sources (1)

Latest Comments

Chocobo1 commented on 2023-09-22 19:04 (UTC)

Does not build with GCC 13, need this patch:

Thanks, fixed.

bpierre commented on 2023-09-22 17:54 (UTC)

Does not build with GCC 13, need this patch:

 PKGBUILD      |  7 +++++++
 cstdint.patch | 12 ++++++++++++
 2 files changed, 19 insertions(+)

diff --git c/PKGBUILD i/PKGBUILD
index ba20311..644ce74 100644
--- c/PKGBUILD
+++ i/PKGBUILD
@@ -13,6 +13,13 @@ optdepends=('lua')
 source=("$pkgname-$pkgver.tar.bz2::https://gitlab.com/bits-n-bites/buildcache/-/archive/v$pkgver/buildcache-v$pkgver.tar.bz2")
 sha256sums=('ec9680311c0e6cf41fa0fc124b22334396cd5b6e300f55773136546a6c333b73')

+source+=(cstdint.patch)
+sha256sums+=(bf4e6deb613d12ace8109b8816d83388e8711a2d3bfc586be56ebbe1f880571f)
+
+prepare() {
+  cd "$pkgname-v$pkgver"
+  patch -p1 -i "$srcdir/cstdint.patch"
+}

 build() {
   cd "$pkgname-v$pkgver"
diff --git c/cstdint.patch i/cstdint.patch
new file mode 100644
index 0000000..85df374
--- /dev/null
+++ i/cstdint.patch
@@ -0,0 +1,12 @@
+diff --git i/src/base/hmac.cpp w/src/base/hmac.cpp
+index 8a53da7..a426282 100644
+--- i/src/base/hmac.cpp
++++ w/src/base/hmac.cpp
+@@ -43,6 +43,7 @@
+ #endif
+ 
+ #include <array>
++#include <cstdint>
+ #include <stdexcept>
+ #include <vector>
+