src_prepare-overlay/games-strategy/vcmi/files/0001-fix-desktop-entries-not-loading-due-to-missing-libs.patch

23 lines
715 B
Diff
Raw Normal View History

--- a/client/icons/vcmiclient.desktop
+++ b/client/icons/vcmiclient.desktop
@@ -4,7 +4,7 @@ Name=VCMI Client
GenericName=Strategy Game Engine
Comment=Open engine for Heroes of Might and Magic 3
Icon=vcmiclient
-Exec=vcmiclient
+Exec=env LD_LIBRARY_PATH=/usr/lib:/usr/lib64 vcmiclient
Categories=Game;StrategyGame;
Version=1.0
Keywords=heroes;homm3;
--- a/launcher/vcmilauncher.desktop
+++ b/launcher/vcmilauncher.desktop
@@ -4,7 +4,7 @@ Name=VCMI
GenericName=Strategy Game Engine
Comment=Launcher for open engine of Heroes of Might and Magic 3
Icon=vcmiclient
-Exec=vcmilauncher
+Exec=env LD_LIBRARY_PATH=/usr/lib:/usr/lib64 vcmilauncher
Categories=Game;StrategyGame;
Version=1.0
Keywords=heroes;homm3;