summaryrefslogtreecommitdiff
path: root/wm/ion/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'wm/ion/patches/patch-ab')
-rw-r--r--wm/ion/patches/patch-ab41
1 files changed, 0 insertions, 41 deletions
diff --git a/wm/ion/patches/patch-ab b/wm/ion/patches/patch-ab
deleted file mode 100644
index 24beb04e2c9..00000000000
--- a/wm/ion/patches/patch-ab
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2006/08/14 22:40:53 wiz Exp $
-
---- de/delib.lua.orig 2004-01-03 00:27:28.000000000 +0000
-+++ de/delib.lua
-@@ -10,10 +10,10 @@
- -- (at your option) any later version.
- --
-
---- This is a slight abuse of the _LOADED variable perhaps, but library-like
-+-- This is a slight abuse of the package.loaded variable perhaps, but library-like
- -- packages should handle checking if they're loaded instead of confusing
- -- the user with require/include differences.
--if _LOADED["delib"] then return end
-+if package.loaded["delib"] then return end
-
-
- local stylecache={}
-@@ -35,7 +35,7 @@ local function base_on(name, list)
- return false
- end
-
-- for k, v in stylecache[list.based_on] do
-+ for k, v in pairs(stylecache[list.based_on]) do
- if type(k)=="number" then
- if type(v)=="table" then
- if v.substyle_pattern then
-@@ -82,7 +82,7 @@ function de_define_style(name, list)
-
- stylecache[name]=list
-
-- for xscr, rootwin in root_windows() do
-+ for xscr, rootwin in pairs(root_windows()) do
- if not de_do_define_style(rootwin, name, list) then
- break
- end
-@@ -118,4 +118,4 @@ end
-
-
- -- Mark ourselves loaded.
--_LOADED["delib"]=true
-+package.loaded["delib"]=true