diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 05:24:05 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 05:24:05 (GMT) |
commit | c70a79c1e2deec8d508f34776befe11dab701e49 (patch) | |
tree | e316035b1059e5e4c3985fa64e7a3fa98ad697db /abs/extra-testing/community/lua/lua-5.1.3-official-patch3.diff | |
parent | c7d4d0ec62e50c879908ab9f5e6b82c59124d338 (diff) | |
download | linhes_pkgbuild-c70a79c1e2deec8d508f34776befe11dab701e49.zip linhes_pkgbuild-c70a79c1e2deec8d508f34776befe11dab701e49.tar.gz linhes_pkgbuild-c70a79c1e2deec8d508f34776befe11dab701e49.tar.bz2 |
Adding missing PKGBUILDS, needed for VLC.
fluidsynth
libdvbpsi
libmatroska
libmodplug
libmpcded
libshout
libv4l
lua
zvbi
Diffstat (limited to 'abs/extra-testing/community/lua/lua-5.1.3-official-patch3.diff')
-rw-r--r-- | abs/extra-testing/community/lua/lua-5.1.3-official-patch3.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/extra-testing/community/lua/lua-5.1.3-official-patch3.diff b/abs/extra-testing/community/lua/lua-5.1.3-official-patch3.diff new file mode 100644 index 0000000..8126ff5 --- /dev/null +++ b/abs/extra-testing/community/lua/lua-5.1.3-official-patch3.diff @@ -0,0 +1,21 @@ +--- src/lapi.c (old) ++++ src/lapi.c (new) +@@ -93,15 +93,14 @@ + + + LUA_API int lua_checkstack (lua_State *L, int size) { +- int res; ++ int res = 1; + lua_lock(L); +- if ((L->top - L->base + size) > LUAI_MAXCSTACK) ++ if (size > LUAI_MAXCSTACK || (L->top - L->base + size) > LUAI_MAXCSTACK) + res = 0; /* stack overflow */ +- else { ++ else if (size > 0) { + luaD_checkstack(L, size); + if (L->ci->top < L->top + size) + L->ci->top = L->top + size; +- res = 1; + } + lua_unlock(L); + return res; |