SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
devel/luaprofiler/patches/patch-src_lua50_profiler_c
Normal file
11
devel/luaprofiler/patches/patch-src_lua50_profiler_c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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…
Add table
Add a link
Reference in a new issue