From e5017d8239f39308c897eadf1d7de8371f5ea55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 10 Feb 2014 14:21:42 +0100 Subject: [PATCH] springlobby: add unitsync patch --- pkgs/games/spring/unitsync_path_find.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pkgs/games/spring/unitsync_path_find.patch diff --git a/pkgs/games/spring/unitsync_path_find.patch b/pkgs/games/spring/unitsync_path_find.patch new file mode 100644 index 000000000000..66257a5f52fc --- /dev/null +++ b/pkgs/games/spring/unitsync_path_find.patch @@ -0,0 +1,10 @@ +--- a/src/settings.cpp 2013-12-02 10:09:19.000000000 +0000 ++++ b/src/settings.cpp-new 2014-02-10 11:39:48.265628767 +0000 +@@ -498,6 +498,7 @@ + + wxString Settings::AutoFindUnitSync(wxPathList pl) const + { ++ pl.AddEnvList( _T( "SPRING_LIB_DIRS" ) ); + wxString retpath = pl.FindValidPath( _T( "unitsync" ) + GetLibExtension() ); + if ( retpath.IsEmpty() ) + retpath = pl.FindValidPath( _T( "libunitsync" ) + GetLibExtension() );