summaryrefslogtreecommitdiff
path: root/libre/ecasound-libre/ruby2.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
committerroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
commit603bdf488872afbc69493bc640aedb7548f3ed51 (patch)
tree60945d453f0d8b5f8fb9ed8cb8d4e35c5d8d5dcf /libre/ecasound-libre/ruby2.patch
parent614d2fec699c594b1a3a25c973e0b5150302ff0e (diff)
Wed Jun 19 01:36:52 PDT 2013
Diffstat (limited to 'libre/ecasound-libre/ruby2.patch')
-rw-r--r--libre/ecasound-libre/ruby2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/ecasound-libre/ruby2.patch b/libre/ecasound-libre/ruby2.patch
new file mode 100644
index 000000000..d55f12140
--- /dev/null
+++ b/libre/ecasound-libre/ruby2.patch
@@ -0,0 +1,12 @@
+diff -aur ecasound-2.9.0.orig/configure ecasound-2.9.0/configure
+--- ecasound-2.9.0.orig/configure 2013-03-26 17:14:51.759045636 +0800
++++ ecasound-2.9.0/configure 2013-03-26 17:15:50.502060731 +0800
+@@ -6535,7 +6535,7 @@
+ rubyecasound_support=no
+ ECA_S_RUBY_SITEDIR=""
+ else
+- ECA_S_RUBY_SITEDIR="`ruby -e 'require "rbconfig"; include Config; print CONFIG["sitedir"] + "/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]'`"
++ ECA_S_RUBY_SITEDIR="`ruby -e 'include RbConfig; print CONFIG["vendordir"] + "/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]'`"
+ fi
+
+