Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 00:09:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385433 - head/games/wxlauncher/files
Message-ID:  <201505050009.t4509q4C031377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;
+ 	}
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505050009.t4509q4C031377>