diff options
author | PeterBB | 2021-05-24 18:01:01 +0100 |
---|---|---|
committer | PeterBB | 2021-05-24 18:01:01 +0100 |
commit | 2b83905f5d35bd1cd89b5a42ebd6d4fe144feb92 (patch) | |
tree | d027fd6aacda98212316fffcd85239901d0b1456 | |
parent | 3c299563b4c2d7ab0a30e5b19cfe5250a0295011 (diff) | |
download | aur-2b83905f5d35bd1cd89b5a42ebd6d4fe144feb92.tar.gz |
remove patch files
-rw-r--r-- | lua52.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/lua52.patch b/lua52.patch deleted file mode 100644 index a1b97478b66d..000000000000 --- a/lua52.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- qosmic-1.5.0/src/lua/lunar.h 2011-10-22 01:58:08.000000000 +0200 -+++ qosmic-1.5.0-new/src/lua/lunar.h 2015-09-04 18:36:01.547010872 +0200 -@@ -9,15 +9,22 @@ - - extern "C" - { --#include "lua.h" --#include "lualib.h" --#include "lauxlib.h" -+#include "lua5.2/lua.h" -+#include "lua5.2/lualib.h" -+#include "lua5.2/lauxlib.h" - } - - #include "logger.h" - - namespace Lua - { -+ -+inline LUALIB_API int luaL_typerror (lua_State *L, int narg, const char *tname) { -+ const char *msg = lua_pushfstring(L, "%s expected, got %s", -+ tname, luaL_typename(L, narg)); -+ return luaL_argerror(L, narg, msg); -+} -+ - template <typename T> class Lunar - { - typedef struct { T* pT; } userdataType; -@@ -37,7 +44,7 @@ - // store method table in globals so that - // scripts can add functions written in Lua. - lua_pushvalue(L, methods); -- set(L, LUA_GLOBALSINDEX, T::className); -+ lua_setglobal(L, T::className); - - // hide metatable from Lua getmetatable() - lua_pushvalue(L, methods); ---- qosmic-1.5.0/qosmic.pro 2011-10-25 03:14:24.000000000 +0200 -+++ qosmic-1.5.0-new/qosmic.pro 2015-09-04 18:54:42.077293629 +0200 -@@ -49,7 +49,7 @@ - - link_pkgconfig { - message("Config using pkg-config version "$$system(pkg-config --version)) -- PKGCONFIG = flam3 lua -+ PKGCONFIG = flam3 lua52 - - ## The directory that contains flam3-palettes.xml must be set here. If - ## your system has pkg-config, this should find the flam3 palettes. -@@ -62,7 +62,7 @@ - ## flam3-palettes.xml file installed by the flam3 package. - PALETTESDIR = /usr/share/flam3 - INCLUDEPATH += /usr/include/libxml2 -- LIBS += -L/usr/lib/libxml2 -lflam3 -lm -ljpeg -lxml2 -llua -+ LIBS += -L/usr/lib/libxml2 -lflam3 -lm -ljpeg -lxml2 -llua5.2 - } - - |