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

1444df
From: =?UTF-8?q?Radek=20Vok=C3=A1l?= <rvokal@fedoraproject.org>
1444df
Date: Tue, 15 Dec 2009 08:36:27 +0000
173888
Subject: [PATCH] enable Lua support
1444df
1444df
Peter Hatina f670be
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua
d3e571
index 3fe2aca..2b48f9b 100644
Peter Hatina f670be
--- a/epan/wslua/template-init.lua
Peter Hatina f670be
+++ b/epan/wslua/template-init.lua
Peter Hatina fe8eca
@@ -41,7 +41,7 @@ if running_superuser then
Radek Vokál 68e7ca
     local disabled_lib = {}
Peter Hatina f670be
     setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } );
Radek Vokál 68e7ca
 
Peter Hatina f670be
-    dofile = function() error("dofile " .. hint) end
Peter Hatina f670be
+--    dofile = function() error("dofile " .. hint) end
Peter Hatina f670be
     loadfile = function() error("loadfile " .. hint) end
Peter Hatina f670be
     loadlib = function() error("loadlib " .. hint) end
Peter Hatina f670be
     require = function() error("require " .. hint) end