summaryrefslogtreecommitdiff
path: root/wm/ion/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'wm/ion/patches/patch-al')
-rw-r--r--wm/ion/patches/patch-al23
1 files changed, 23 insertions, 0 deletions
diff --git a/wm/ion/patches/patch-al b/wm/ion/patches/patch-al
new file mode 100644
index 00000000000..37c88e78d9f
--- /dev/null
+++ b/wm/ion/patches/patch-al
@@ -0,0 +1,23 @@
+$NetBSD: patch-al,v 1.1 2006/08/14 22:40:53 wiz Exp $
+
+--- query/querylib.lua.orig 2004-02-16 17:58:47.000000000 +0000
++++ query/querylib.lua
+@@ -10,10 +10,10 @@
+ --
+
+
+--- 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["querylib"] then return end
++if package.loaded["querylib"] then return end
+
+
+ querylib={}
+@@ -732,4 +732,4 @@ end
+
+
+ -- Mark ourselves loaded.
+-_LOADED["querylib"]=true
++package.loaded["querylib"]=true