svn commit: r335838 - head/games/lugaru/files

Rusmir Dusko nemysis at FreeBSD.org
Sat Dec 7 18:07:04 UTC 2013


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 at 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...


More information about the svn-ports-head mailing list