summary refs log tree commit diff
path: root/pkgs/games/spring
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-02-10 14:21:42 +0100
committerDomen Kožar <domen@dev.si>2014-02-10 14:21:42 +0100
commite5017d8239f39308c897eadf1d7de8371f5ea55b (patch)
tree9fb5851b3ebd4f752a731336176c404081548877 /pkgs/games/spring
parente5124e7a0ea5514b9fa4334cd4fa474331f6e300 (diff)
downloadnixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.tar
nixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.tar.gz
nixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.tar.bz2
nixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.tar.lz
nixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.tar.xz
nixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.tar.zst
nixpkgs-e5017d8239f39308c897eadf1d7de8371f5ea55b.zip
springlobby: add unitsync patch
Diffstat (limited to 'pkgs/games/spring')
-rw-r--r--pkgs/games/spring/unitsync_path_find.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/games/spring/unitsync_path_find.patch b/pkgs/games/spring/unitsync_path_find.patch
new file mode 100644
index 00000000000..66257a5f52f
--- /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() );