depot/third_party/nixpkgs/pkgs/development/libraries/gmtk/fix-paths.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

20 lines
811 B
Diff

--- a/src/gmtk_media_player.c
+++ b/src/gmtk_media_player.c
@@ -2449,7 +2449,7 @@
player->minimum_mplayer = detect_mplayer_features(player);
if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) {
- argv[argn++] = g_strdup_printf("mplayer");
+ argv[argn++] = g_strdup_printf("@mplayer@");
} else {
argv[argn++] = g_strdup_printf("%s", player->mplayer_binary);
}
@@ -4135,7 +4135,7 @@
return ret;
if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) {
- av[ac++] = g_strdup_printf("mplayer");
+ av[ac++] = g_strdup_printf("@mplayer@");
} else {
av[ac++] = g_strdup_printf("%s", player->mplayer_binary);
}