d1x-rebirth: upgrade to latests / fix build with gcc10

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-06-09 20:06:38 +02:00
parent f497d56cc3
commit 4dc6cfb528
2 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
From 14d6a8f0f48b7e6d134389581d5ba5dbaa288258 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Tue, 9 Jun 2020 18:44:54 +0200
Subject: [PATCH] clipper.cpp: Fix build with gcc10
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
| common/3d/clipper.cpp:29:14: error: 'out_of_range' is not a member of 'std'
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
common/3d/clipper.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/3d/clipper.cpp b/common/3d/clipper.cpp
index 111514c9e..188885e18 100644
--- a/common/3d/clipper.cpp
+++ b/common/3d/clipper.cpp
@@ -11,6 +11,7 @@
#include "dxxerror.h"
#include "compiler-range_for.h"
+#include <stdexcept>
namespace dcx {
--
2.26.2

View File

@@ -10,6 +10,7 @@ DEPENDS = " \
python3-scons-native \
libsdl \
libsdl-mixer \
libsdl-image \
physfs \
libpng \
"
@@ -19,8 +20,9 @@ SRC_URI = " \
http://www.dxx-rebirth.com/download/dxx/content/descent-mac-demo.zip;name=data \
http://www.descent2.de/files/sound/hires-sounds.7z;name=sound \
http://www.dxx-rebirth.com/download/dxx/res/d1xr-sc55-music.dxa;name=music;unpack=0 \
file://0001-clipper.cpp-Fix-build-with-gcc10.patch \
"
SRCREV = "211a172c1dc5f939a3ed387bea57b1d0ee679192"
SRCREV = "6212b914cb2dfb78e1fc4dcbc574b9b1d329783b"
PV = "v0.59+git${SRCPV}"
S = "${WORKDIR}/git"