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
1444df
index e6ec4ae..2538c4c 100644
Peter Hatina f670be
--- a/epan/wslua/template-init.lua
Peter Hatina f670be
+++ b/epan/wslua/template-init.lua
Peter Hatina f670be
@@ -43,7 +43,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