svn commit: r385433 - head/games/wxlauncher/files

Jan Beich jbeich at FreeBSD.org
Tue May 5 00:09:52 UTC 2015


Author: jbeich
Date: Tue May  5 00:09:51 2015
New Revision: 385433
URL: https://svnweb.freebsd.org/changeset/ports/385433

Log:
  games/wxlauncher: unbreak build when WX3=on JOYSTICK=off
  
  wxgtk30 enables debug logging by default. This led to breakage
  because the calls within wxLogDebug() are no longer eliminated.
  
  PR:		199919
  Submitted by:	lightside <lightside at gmx.com> (maintainer)

Added:
  head/games/wxlauncher/files/
  head/games/wxlauncher/files/patch-code_apis_JoystickManager.cpp   (contents, props changed)

Added: head/games/wxlauncher/files/patch-code_apis_JoystickManager.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/wxlauncher/files/patch-code_apis_JoystickManager.cpp	Tue May  5 00:09:51 2015	(r385433)
@@ -0,0 +1,13 @@
+--- code/apis/JoystickManager.cpp.orig	2015-04-11 22:15:55 UTC
++++ code/apis/JoystickManager.cpp
+@@ -65,8 +65,10 @@ bool JoyMan::IsInitialized() {
+ */
+ bool JoyMan::Initialize() {
+ 	if ( JoyMan::IsInitialized() ) {
++#if USE_JOYSTICK
+ 		wxLogDebug(_T("JoyMan already initialized with %d joysticks"),
+ 			joysticks.Count());
++#endif
+ 		return true;
+ 	}
+ 


More information about the svn-ports-head mailing list