Date: Sat, 7 Dec 2013 18:07:04 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335838 - head/games/lugaru/files Message-ID: <201312071807.rB7I74tQ064124@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Sat Dec 7 18:07:03 2013 New Revision: 335838 URL: http://svnweb.freebsd.org/changeset/ports/335838 Log: - Fix build with gcc47, add patch PR: ports/184570 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Approved by: pawel / wg (mentors, implicit) Added: head/games/lugaru/files/patch-Source__OpenGL_Windows.cpp (contents, props changed) head/games/lugaru/files/patch-Source__openal_wrapper.cpp (contents, props changed) Deleted: head/games/lugaru/files/patch-Source-openal_wrapper.cpp Added: head/games/lugaru/files/patch-Source__OpenGL_Windows.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lugaru/files/patch-Source__OpenGL_Windows.cpp Sat Dec 7 18:07:03 2013 (r335838) @@ -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" Added: head/games/lugaru/files/patch-Source__openal_wrapper.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lugaru/files/patch-Source__openal_wrapper.cpp Sat Dec 7 18:07:03 2013 (r335838) @@ -0,0 +1,11 @@ +--- ./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); + char *ptr = strchr(fname, '.'); +- if (ptr) *ptr = NULL; ++ if (ptr) ptr = NULL; + strcat(fname, ".ogg"); + + // just in case...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312071807.rB7I74tQ064124>