summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch')
-rw-r--r--xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch b/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch
new file mode 100644
index 00000000000..bacd69778e5
--- /dev/null
+++ b/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch
@@ -0,0 +1,13 @@
+Fix compability with Ruby 1.8 by Alex Legler <a3li@gentoo.org>. It helps to actually mark the method static.
+
+--- src/compat18.rb
++++ src/compat18.rb
+@@ -12,7 +12,7 @@
+ end
+
+ class Dir
+- def exists?(path)
++ def self.exists?(path)
+ File.directory?(path)
+ end
+ end