]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-5.4.12-fix-rpmlua-print.patch
convert cpu-os-macros to ar archive instead of untracked .tar.gz
[packages/rpm.git] / rpm-5.4.12-fix-rpmlua-print.patch
CommitLineData
7d3aa060
JR
1--- rpm-5.4.12/misc/librpmmisc.vers.rpmluaprint~ 2013-08-08 18:23:58.367842414 +0200
2+++ rpm-5.4.12/misc/librpmmisc.vers 2013-08-08 18:20:25.019996866 +0200
3@@ -36,6 +36,7 @@ LIBRPMMISC_0
4 lua_gettop;
5 lua_isnumber;
6 lua_isstring;
7+ lua_setglobal;
8 luaL_argerror;
9 luaL_checklstring;
10 luaL_error;
11--- rpm-5.4.12/rpmio/rpmlua.c.rpmluaprint~ 2013-08-08 18:23:06.755942297 +0200
12+++ rpm-5.4.12/rpmio/rpmlua.c 2013-08-08 18:23:32.325390087 +0200
13@@ -207,8 +207,8 @@ rpmlua rpmluaNew(void)
14 #else
15 lua_pushglobaltable(L);
16 #endif
17- lua_pushliteral(L, "print");
18 lua_pushcfunction(L, rpm_print);
19+ lua_setglobal(L, "print");
20
21 #if defined(LUA_GLOBALSINDEX)
22 lua_rawset(L, LUA_GLOBALSINDEX);
This page took 0.030007 seconds and 4 git commands to generate.