forked from mirrors/nixpkgs
springlobby: add unitsync patch
This commit is contained in:
parent
e5124e7a0e
commit
e5017d8239
10
pkgs/games/spring/unitsync_path_find.patch
Normal file
10
pkgs/games/spring/unitsync_path_find.patch
Normal file
|
@ -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() );
|
Loading…
Reference in a new issue