1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Fix build with gcc47, add patch

PR:		ports/184570
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-12-07 18:07:03 +00:00
parent ec789c3935
commit ff770b517f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335838
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,10 @@
--- ./Source/OpenGL_Windows.cpp.orig 2010-05-16 06:42:54.000000000 +0200
+++ ./Source/OpenGL_Windows.cpp 2013-12-07 18:36:52.000000000 +0100
@@ -30,6 +30,7 @@
#undef boolean
#endif
+#include <unistd.h>
#include "Game.h"

View File

@ -1,5 +1,5 @@
--- Source/openal_wrapper.cpp.orig 2010-05-16 06:42:54.000000000 +0200
+++ Source/openal_wrapper.cpp 2013-09-27 23:04:45.000000000 +0200
--- ./Source/openal_wrapper.cpp.orig 2010-05-16 06:42:54.000000000 +0200
+++ ./Source/openal_wrapper.cpp 2013-12-07 18:33:55.000000000 +0100
@@ -374,7 +374,7 @@
char *fname = (char *) alloca(strlen(_fname) + 16);
strcpy(fname, _fname);