Commit c98aa804 authored by Sören Tempel's avatar Sören Tempel
Browse files

testing/avara: fix build

parent c872ec9b
......@@ -11,7 +11,9 @@ license="MIT"
makedepends="clang clang-dev directfb-dev glu-dev sdl2_net-dev sdl2_mixer-dev sdl2"
options="!check"
subpackages="$pkgname-doc"
source="avara $pkgname-$pkgver.zip::https://github.com/avaraline/Avara/archive/$_sha.zip"
source="avara
$pkgname-$pkgver.zip::https://github.com/avaraline/Avara/archive/$_sha.zip
fix-includes.patch"
builddir="$srcdir/Avara-$_sha"
build() {
......@@ -32,5 +34,8 @@ package() {
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/"
}
sha512sums="928326dad78b077fe82f13f9c56a00996ef8555108e0964a72e73c84fb073a2d6a9e7a545d129f90386f5f30cf7976abc29a38ff71f7c6e114521f6c0dcd36bf avara
03dfb9b173749fac97591053cd7d55976617eb4fb64bcb4286a1b511d18dcb557dcbb408bf4c4e5d5bf7c47f41b2134808613938a9535c51d5e486e123a9271c avara-0_git20191006.zip"
sha512sums="
928326dad78b077fe82f13f9c56a00996ef8555108e0964a72e73c84fb073a2d6a9e7a545d129f90386f5f30cf7976abc29a38ff71f7c6e114521f6c0dcd36bf avara
03dfb9b173749fac97591053cd7d55976617eb4fb64bcb4286a1b511d18dcb557dcbb408bf4c4e5d5bf7c47f41b2134808613938a9535c51d5e486e123a9271c avara-0_git20191006.zip
0e7e3522c0d2b2ac202951aecaafc5a7ce98f1a08f0f5876c97550457ae432662c569bfd6fe90cff2fee19e0ed4bd19c28b4b1a5aefab94813c2fc68275475df fix-includes.patch
"
diff -upr b/src/game/CPlayerManager.h a/src/game/CPlayerManager.h
--- b/src/game/CPlayerManager.h 2021-07-21 17:34:18.436826042 +0200
+++ a/src/game/CPlayerManager.h 2021-07-21 17:35:06.237594868 +0200
@@ -15,6 +15,7 @@
#include <SDL2/SDL.h>
#include <map>
#include <deque>
+#include <string>
enum {
kLNotConnected,
diff -upr b/vendor/nanogui/nanogui/common.h a/vendor/nanogui/nanogui/common.h
--- b/vendor/nanogui/nanogui/common.h 2021-07-21 17:34:18.550159448 +0200
+++ a/vendor/nanogui/nanogui/common.h 2021-07-21 17:34:35.390170327 +0200
@@ -28,6 +28,8 @@
#include <stdint.h>
#include <array>
#include <vector>
+#include <string>
+#include <stdexcept>
#include <SDL2/SDL.h>
#include <glm/vec3.hpp> // glm::vec3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment