Репозитории ALT
S: | 1.6.2.2-alt3 |
D: | 1.5.0-alt1 |
5.1: | 1.6.0-alt4 |
4.1: | 1.5.0-alt2 |
4.0: | 1.4.1-alt5 |
+backports: | 1.4.1-alt5 |
3.0: | 1.3.2-alt2 |
Другие репозитории
Upstream: | 1.5.0 |
Группа :: Обучение
Пакет: celestia
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: celestia-1.6.2.2-alt-lua5.4.patch
Скачать
Скачать
diff --git a/celestia/src/celestia/celx.cpp b/celestia/src/celestia/celx.cpp
index a00b933..736f8b3 100644
--- a/celestia/src/celestia/celx.cpp
+++ b/celestia/src/celestia/celx.cpp
@@ -669,7 +669,10 @@ static int resumeLuaThread(lua_State *L, lua_State *co, int narg)
//if (!lua_checkstack(co, narg))
// luaL_error(L, "too many arguments to resume");
lua_xmove(L, co, narg);
-#if LUA_VERSION_NUM >= 502
+#if LUA_VERSION_NUM >= 504
+ int nresults;
+ status = lua_resume(co, NULL, narg, &nresults);
+#elif LUA_VERSION_NUM >= 502
status = lua_resume(co, NULL, narg);
#else
status = lua_resume(co, narg);