File liblastfm-ruby19.patch of Package liblastfm
Index: mxcl-liblastfm-1c739eb/admin/qpp
===================================================================
--- mxcl-liblastfm-1c739eb.orig/admin/qpp
+++ mxcl-liblastfm-1c739eb/admin/qpp
@@ -2,9 +2,8 @@
# Creates a qmake .pro file for all valid SOURCES, HEADERS, FORMS and
# RESOURCES under each argument to ARGV as directories
-cwd=File.dirname __FILE__
require 'find'
-require "#{cwd}/findsrc"
+require_relative 'findsrc'
sources = Array.new
headers = Array.new
Index: mxcl-liblastfm-1c739eb/admin/Makefile.rb
===================================================================
--- mxcl-liblastfm-1c739eb.orig/admin/Makefile.rb
+++ mxcl-liblastfm-1c739eb/admin/Makefile.rb
@@ -4,9 +4,8 @@
# and then creates the directory _include and creates files named after the
# class names in there which #include the file that contains the class
-cwd = File.dirname( __FILE__ )
require 'find'
-require "#{cwd}/platform.rb"
+require_relative 'platform'
######################################################################### defs
@@ -158,4 +157,4 @@ puts <<-EOS
.PHONY: dist
dist:
git archive --prefix=#{BASENAME}/ HEAD | bzip2 > #{BASENAME}.tar.bz2
-EOS
\ No newline at end of file
+EOS