wok-next view celestia/stuff/patches/celestia-1.6.1-libpng16.patch @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | |
children |
line source
1 image.cpp:530:61: error: ‘memcpy’ was not declared in this scope
3 https://bugs.gentoo.org/show_bug.cgi?id=464764
5 Patch written by Lars Wendler <polynomial-c@gentoo.org>
6 --- a/celestia/src/celengine/image.cpp
7 +++ b/celestia/src/celengine/image.cpp
8 @@ -42,6 +42,7 @@ extern "C" {
9 #include "jpeglib.h"
10 #else
11 #include <cstdio>
12 +#include <string.h>
13 #include <jpeglib.h>
14 #endif
15 }
16 --- a/celestia/src/celengine/texture.cpp
17 +++ b/celestia/src/celengine/texture.cpp
18 @@ -28,6 +28,7 @@
19 #include <cstdlib>
20 #include <cstdio>
21 #include <cassert>
22 +#include <string.h>
24 #ifndef _WIN32
25 #ifndef TARGET_OS_MAC