File amarok-1.4.10-alt-ruby19.patch of Package kde3-amarok

diff --git a/amarok/amarok/configure.in.in b/amarok/amarok/configure.in.in
index c47734e..c45bc3e 100644
--- a/amarok/amarok/configure.in.in
+++ b/amarok/amarok/configure.in.in
@@ -1082,7 +1082,10 @@ AC_CHECK_TYPES([uint8_t, u_int8_t, uint16_t, u_int16_t, uint32_t, u_int32_t, uin
 
 AC_PATH_PROG(RUBY, ruby, no)
 
-ruby_includes=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["archdir"] )'`]
+rubyhdrdir=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["rubyhdrdir"] )'`]
+rubyarch=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["arch"] )'`]
+
+ruby_includes="$rubyhdrdir/$rubyarch -I$rubyhdrdir/ruby/backward -I$rubyhdrdir"
 ruby_ldflags=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["LIBRUBYARG_SHARED"] )'`]
 
 AC_SUBST(ruby_includes)