Package: ray / 2.3.1-7

mips.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Aurelien Jarno <aurel32@debian.org>
Last-Update: Sun, 16 Feb 2014 16:48:47 +0100
Bug-Debian: http://bugs.debian.org/739184
Description: Build also on mips, mipsel and s390x
 I still do not understand why it builds fine on other architectures,
 but in C++, memcpy is declared in <cstring>. The following patch
 therefore fixes the issue:

--- a/RayPlatform/RayPlatform/actors/Actor.cpp
+++ b/RayPlatform/RayPlatform/actors/Actor.cpp
@@ -30,6 +30,7 @@
 #include <string.h>
 
 #include <iostream>
+#include <cstring>
 using namespace std;
 
 Actor::Actor() {