wireshark/wireshark-0001-enable-Lua-support.patch

19 lines
761 B
Diff
Raw Normal View History

From: =?UTF-8?q?Radek=20Vok=C3=A1l?= <rvokal@fedoraproject.org>
Date: Tue, 15 Dec 2009 08:36:27 +0000
Subject: [PATCH] enable Lua support
2013-06-17 13:19:18 +00:00
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua
index 3fe2aca..2b48f9b 100644
2013-06-17 13:19:18 +00:00
--- a/epan/wslua/template-init.lua
+++ b/epan/wslua/template-init.lua
2016-01-14 10:56:55 +00:00
@@ -41,7 +41,7 @@ if running_superuser then
2009-12-15 08:36:27 +00:00
local disabled_lib = {}
2013-06-17 13:19:18 +00:00
setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } );
2009-12-15 08:36:27 +00:00
2013-06-17 13:19:18 +00:00
- dofile = function() error("dofile " .. hint) end
+-- dofile = function() error("dofile " .. hint) end
loadfile = function() error("loadfile " .. hint) end
loadlib = function() error("loadlib " .. hint) end
require = function() error("require " .. hint) end