diff options
author | Viech | 2023-05-18 15:25:32 +0200 |
---|---|---|
committer | Viech | 2023-05-18 15:25:32 +0200 |
commit | 7f53e442ac5bafa72fdcb764928a551c65781839 (patch) | |
tree | ae1bb42194390669f5a81d52bcfa8bd8d851dff1 | |
parent | 186f91519d6268d4eb975c16fb68ca45af2bdfa7 (diff) | |
download | aur-7f53e442ac5bafa72fdcb764928a551c65781839.tar.gz |
Work around a compilation failure concerning minidump_descriptor.h.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -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 @@ -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() { |