* [gentoo-commits] gentoo-x86 commit in app-admin/conky/files: conky-1.8.1-lua-5.2.patch
@ 2012-03-10 7:20 Daniel Pielmeier (billie)
0 siblings, 0 replies; only message in thread
From: Daniel Pielmeier (billie) @ 2012-03-10 7:20 UTC (permalink / raw
To: gentoo-commits
billie 12/03/10 07:20:33
Added: conky-1.8.1-lua-5.2.patch
Log:
Fix building against lua-5.2 (bug #407089). Thanks to Amadeusz Żołnowski for the report and Brenden Matthews for the fix.
(Portage version: 2.1.10.44/cvs/Linux i686)
Revision Changes Path
1.1 app-admin/conky/files/conky-1.8.1-lua-5.2.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conky/files/conky-1.8.1-lua-5.2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conky/files/conky-1.8.1-lua-5.2.patch?rev=1.1&content-type=text/plain
Index: conky-1.8.1-lua-5.2.patch
===================================================================
From 83bf5e3f853918583e519fbba455a79242be9c7c Mon Sep 17 00:00:00 2001
From: Brenden Matthews <brenden@diddyinc.com>
Date: Wed, 7 Mar 2012 11:11:12 -0800
Subject: [PATCH] Build fix for Lua >=5.2.
See Gentoo bug at https://bugs.gentoo.org/show_bug.cgi?id=407089.
---
src/llua.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/llua.c b/src/llua.c
index 8f1df3c..383c279 100644
--- a/src/llua.c
+++ b/src/llua.c
@@ -92,7 +92,7 @@ void llua_init(void)
const char *libs = PACKAGE_LIBDIR"/lib?.so;";
char *old_path, *new_path;
if (lua_L) return;
- lua_L = lua_open();
+ lua_L = luaL_newstate();
/* add our library path to the lua package.cpath global var */
luaL_openlibs(lua_L);
--
1.7.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-10 7:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-10 7:20 [gentoo-commits] gentoo-x86 commit in app-admin/conky/files: conky-1.8.1-lua-5.2.patch Daniel Pielmeier (billie)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox