unbreak w/ lua 5.2
This commit is contained in:
parent
83be929be9
commit
32b6c7c984
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2013/03/11 10:50:11 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2013/05/30 17:03:59 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= time profiler for Lua
|
||||
|
||||
DISTNAME= luaprofiler-2.0.2
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://luaprofiler.luaforge.net/
|
||||
|
12
devel/luaprofiler/patches/patch-src_lua50_profiler_c
Normal file
12
devel/luaprofiler/patches/patch-src_lua50_profiler_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_lua50_profiler_c,v 1.1 2013/05/30 17:03:59 jasper Exp $
|
||||
--- src/lua50_profiler.c.orig Thu May 30 20:54:19 2013
|
||||
+++ src/lua50_profiler.c Thu May 30 20:54:27 2013
|
||||
@@ -204,7 +204,7 @@ static float calcCallTime(lua_State *L) {
|
||||
return lprofC_get_seconds(timer) / (float) 100000;
|
||||
}
|
||||
|
||||
-static const luaL_reg prof_funcs[] = {
|
||||
+static const luaL_Reg prof_funcs[] = {
|
||||
{ "pause", profiler_pause },
|
||||
{ "resume", profiler_resume },
|
||||
{ "start", profiler_init },
|
Loading…
x
Reference in New Issue
Block a user