aboutsummaryrefslogtreecommitdiff
path: root/games/pioneer/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/pioneer/fix-build.patch')
-rw-r--r--games/pioneer/fix-build.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/games/pioneer/fix-build.patch b/games/pioneer/fix-build.patch
deleted file mode 100644
index 35afdec062b8d..0000000000000
--- a/games/pioneer/fix-build.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- src/lua/LuaPushPull.h.orig 2023-09-18 14:23:51.229000000 +0900
-+++ src/lua/LuaPushPull.h 2023-09-18 14:32:10.777000000 +0900
-@@ -12,10 +12,10 @@
- #include <tuple>
-
- inline void pi_lua_generic_push(lua_State *l, bool value) { lua_pushboolean(l, value); }
--inline void pi_lua_generic_push(lua_State *l, int value) { lua_pushinteger(l, value); }
-+inline void pi_lua_generic_push(lua_State *l, int32_t value) { lua_pushinteger(l, value); }
- inline void pi_lua_generic_push(lua_State *l, int64_t value) { lua_pushinteger(l, value); }
--inline void pi_lua_generic_push(lua_State *l, unsigned int value) { lua_pushinteger(l, value); }
--inline void pi_lua_generic_push(lua_State *l, size_t value) { lua_pushinteger(l, value); }
-+inline void pi_lua_generic_push(lua_State *l, uint32_t value) { lua_pushinteger(l, value); }
-+inline void pi_lua_generic_push(lua_State *l, uint64_t value) { lua_pushinteger(l, value); }
- inline void pi_lua_generic_push(lua_State *l, double value) { lua_pushnumber(l, value); }
- inline void pi_lua_generic_push(lua_State *l, const char *value) { lua_pushstring(l, value); }
- inline void pi_lua_generic_push(lua_State *l, const std::string &value)
-@@ -29,10 +29,10 @@
- inline void pi_lua_generic_push(lua_State *l, const std::nullptr_t &value) { lua_pushnil(l); }
-
- inline void pi_lua_generic_pull(lua_State *l, int index, bool &out) { out = lua_toboolean(l, index); }
--inline void pi_lua_generic_pull(lua_State *l, int index, int &out) { out = luaL_checkinteger(l, index); }
-+inline void pi_lua_generic_pull(lua_State *l, int index, int32_t &out) { out = luaL_checkinteger(l, index); }
- inline void pi_lua_generic_pull(lua_State *l, int index, int64_t &out) { out = luaL_checkinteger(l, index); }
--inline void pi_lua_generic_pull(lua_State *l, int index, unsigned int &out) { out = luaL_checkunsigned(l, index); }
--inline void pi_lua_generic_pull(lua_State *l, int index, size_t &out) { out = luaL_checkunsigned(l, index); }
-+inline void pi_lua_generic_pull(lua_State *l, int index, uint32_t &out) { out = luaL_checkinteger(l, index); }
-+inline void pi_lua_generic_pull(lua_State *l, int index, uint64_t &out) { out = luaL_checkinteger(l, index); }
- inline void pi_lua_generic_pull(lua_State *l, int index, float &out) { out = luaL_checknumber(l, index); }
- inline void pi_lua_generic_pull(lua_State *l, int index, double &out) { out = luaL_checknumber(l, index); }
- inline void pi_lua_generic_pull(lua_State *l, int index, const char *&out) { out = luaL_checkstring(l, index); }
---- src/lua/LuaShip.cpp.orig 2023-09-18 14:42:08.048000000 +0900
-+++ src/lua/LuaShip.cpp 2023-09-18 14:42:20.781000000 +0900
-@@ -19,7 +19,7 @@
- #include "SpaceStation.h"
- #include "ship/PlayerShipController.h"
- #include "ship/PrecalcPath.h"
--#include "src/lua.h"
-+#include "lua.h"
-
- /*
- * Class: Ship