- Update to version 1.19.64 (fate#312159)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=164
This commit is contained in:
Olaf Hering 2012-11-25 17:17:22 +00:00 committed by Git OBS Bridge
parent 65b6f4ec6c
commit 48bec672c0
5 changed files with 6 additions and 37 deletions

View File

@ -1,29 +0,0 @@
From 7331665b7c0009e77e1f5004f427b4d9b2cf4940 Mon Sep 17 00:00:00 2001
From: Olaf Hering <olaf@aepfle.de>
Date: Fri, 23 Nov 2012 20:10:00 +0100
Subject: [PATCH] lua: fix build error due to LUA_GLOBALSINDEX usage
lua 5.2 changed API, LUA_GLOBALSINDEX is no longer available.
http://www.lua.org/manual/5.2/manual.html#8.3
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
generator/lua.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/lua.ml b/generator/lua.ml
index 88748ae..7461cbd 100644
--- a/generator/lua.ml
+++ b/generator/lua.ml
@@ -723,7 +723,7 @@ push_int64_array (lua_State *L, const int64_t *array, size_t len)
static void
print_any (lua_State *L, int index, FILE *out)
{
- lua_getfield (L, LUA_GLOBALSINDEX, \"tostring\");
+ lua_getglobal(L, \"tostring\");
lua_pushvalue (L, index >= 0 ? index : index-1);
lua_call (L, 1, 1);
fprintf (out, \"%%s\", luaL_checkstring (L, -1));
--
1.8.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29490cf0a132a20e0f582c15b76b9cb1801ea5814dc38146305eb19b86fba055
size 9009081

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7b453a6e1950ff38d61762d5d0bed6984e3be4612fcd7456f417f7a721cd714
size 9014434

View File

@ -1,9 +1,9 @@
-------------------------------------------------------------------
Fri Nov 23 19:55:26 CET 2012 - ohering@suse.de
Sun Nov 25 18:17:02 CET 2012 - ohering@suse.de
- include Pod-Simple-3.23.tar.gz to get perl(Pod::Simple::XHTML)
at build time (bnc#789653)
- Update to version 1.19.63 (fate#312159)
- Update to version 1.19.64 (fate#312159)
-------------------------------------------------------------------
Mon Nov 19 18:26:16 CET 2012 - ohering@suse.de

View File

@ -100,9 +100,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Compatibility package for guestfs-tools
License: GPL-2
Group: System/Filesystems
Version: 1.19.63
Version: 1.19.64
Release: 0
Patch0: 0001-lua-fix-build-error-due-to-LUA_GLOBALSINDEX-usage.patch
Patch5: libguestfs-1.13.14-ruby.patch
Patch1000: 1000-force-virtio_blk-in-old-guest-kernel.patch
Source0: %{name}-%{version}.tar.gz
@ -369,7 +368,6 @@ virtual machines.
%prep
%setup -q -a 789653
%patch0 -p1
%patch5 -p1
%patch1000 -p1