infraarcana: build fixes for gcc 5.4.0

This commit is contained in:
Yorick Hardy 2016-11-21 20:05:07 +02:00
parent e05a198859
commit b7fa025de9
3 changed files with 30 additions and 0 deletions

View file

@ -9,6 +9,8 @@ RMD160 (infraarcana/rl_utils-757bef657fa43e2d7f41192e07227a00c62236e4.zip) = 51b
SHA512 (infraarcana/rl_utils-757bef657fa43e2d7f41192e07227a00c62236e4.zip) = 9ad70df01991302fa2b33739c1971072447daf65db1fc5d550208be7f31037bc2558a4f83b2eb5f769a127743949b177b9ac8c979d33c4da80cea3a5edacbf97
Size (infraarcana/rl_utils-757bef657fa43e2d7f41192e07227a00c62236e4.zip) = 13629 bytes
SHA1 (patch-Makefile) = fee6998b86b63e1e67ee3d55561865d2f4565013
SHA1 (patch-rl__utils_src_rl__utils.cpp) = 2b5a965e4f4f818f3bc94c52302b9d5f3d022d31
SHA1 (patch-src_config.cpp) = ac2ee03728e5dc0e7cd851bd5f9ef0392ae27f22
SHA1 (patch-src_input.cpp) = a84f3c470d08c9fa84de766fd951286a93dc1855
SHA1 (patch-src_room.cpp) = de4bd35d31cd9c3359a061307511ef5c0e8bf3e0
SHA1 (patch-src_save__handling.cpp) = 634c7a6db5870861e0d8e1a70a341776c16464a6

View file

@ -0,0 +1,14 @@
$NetBSD$
Fix includes (for accumulator).
--- rl_utils/src/rl_utils.cpp.orig 2016-04-30 08:38:48.000000000 +0000
+++ rl_utils/src/rl_utils.cpp
@@ -4,6 +4,7 @@
#include <vector>
#include <cassert>
#include <sstream>
+#include <numeric>
#include "mersenne_twister.hpp"

View file

@ -0,0 +1,14 @@
$NetBSD$
Fix includes (for iota).
--- src/room.cpp.orig 2016-07-02 15:42:10.000000000 +0000
+++ src/room.cpp
@@ -2,6 +2,7 @@
#include <algorithm>
#include <climits>
+#include <numeric>
#include "init.hpp"
#include "map.hpp"