summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViech2023-05-18 15:25:32 +0200
committerViech2023-05-18 15:25:32 +0200
commit7f53e442ac5bafa72fdcb764928a551c65781839 (patch)
treeae1bb42194390669f5a81d52bcfa8bd8d851dff1
parent186f91519d6268d4eb975c16fb68ca45af2bdfa7 (diff)
downloadaur-7f53e442ac5bafa72fdcb764928a551c65781839.tar.gz
Work around a compilation failure concerning minidump_descriptor.h.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5916b5535038..34fe0c7d43fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = unvanquished
pkgdesc = A team-based, fast-paced, fps/rts hybrid game which pits aliens against humans.
pkgver = 0.54.0
- pkgrel = 2
+ pkgrel = 3
url = https://www.unvanquished.net
install = unvanquished.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c3493e150bee..5f20151545f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=unvanquished
pkgver=0.54.0
-pkgrel=2
+pkgrel=3
pkgdesc='A team-based, fast-paced, fps/rts hybrid game which pits aliens against humans.'
arch=('x86_64')
url='https://www.unvanquished.net'
@@ -86,6 +86,12 @@ prepare() {
# Link the NaCL SDK in the Dæmon source tree.
ln -sfr "${_naclsdk}" "${_daemon}/external_deps/${_naclsdk}"
+
+ # Work around a compilation failure.
+ sed -i '/#include "common\/using_std_string.h"/a #include <cstring>' \
+ "./breakpad-${_suffix}/src/client/linux/handler/minidump_descriptor.h"
+ sed -i '/#include <cstring>/a #include <cstdint>' \
+ "./breakpad-${_suffix}/src/client/linux/handler/minidump_descriptor.h"
}
build() {