void-packages/srcpkgs/celestia-glut/patches/memcpy_notdecleared.patch

22 lines
530 B
Diff
Raw Normal View History

--- src/celengine/image.cpp.orig 2014-04-26 14:41:56.359993709 +0200
+++ src/celengine/image.cpp 2014-04-26 14:42:16.886993341 +0200
@@ -42,6 +42,7 @@
#include "jpeglib.h"
#else
#include <cstdio>
+#include <string.h>
#include <jpeglib.h>
#endif
}
--- src/celengine/texture.cpp.orig 2014-04-26 15:54:19.937915924 +0200
+++ src/celengine/texture.cpp 2014-04-26 15:54:46.992915439 +0200
@@ -28,6 +28,7 @@
#include <cstdlib>
#include <cstdio>
#include <cassert>
+#include <string.h>
#ifndef _WIN32
#ifndef TARGET_OS_MAC