summaryrefslogtreecommitdiff
path: root/www/elinks/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz>2006-08-14 22:37:57 +0000
committerwiz <wiz>2006-08-14 22:37:57 +0000
commit9060beecd8dd74c20a6821bb66f256591a571831 (patch)
tree8be989f963ce7e45346e82ed5da1811e1fddfe8b /www/elinks/patches/patch-ac
parentd8ce7bc8e42b0d09e9f196268b9667c028cdd622 (diff)
downloadpkgsrc-9060beecd8dd74c20a6821bb66f256591a571831.tar.gz
Adapt to lua-5.1.1. Bump PKGREVISION.
Diffstat (limited to 'www/elinks/patches/patch-ac')
-rw-r--r--www/elinks/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/elinks/patches/patch-ac b/www/elinks/patches/patch-ac
new file mode 100644
index 00000000000..b79bc89baae
--- /dev/null
+++ b/www/elinks/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2006/08/14 22:38:24 wiz Exp $
+
+--- src/scripting/lua/hooks.c.orig 2006-01-29 13:10:39.000000000 +0000
++++ src/scripting/lua/hooks.c
+@@ -200,7 +200,7 @@ static enum evhook_status
+ script_hook_quit(va_list ap, void *data)
+ {
+ if (!prepare_lua(NULL)) {
+- lua_dostring(lua_state, "if quit_hook then quit_hook() end");
++ luaL_dostring(lua_state, "if quit_hook then quit_hook() end");
+ finish_lua();
+ }
+