--- PKGBUILD 2011-02-21 10:32:32.000000000 +0100
+++ PKGBUILD.patched 2011-07-19 15:52:02.487073825 +0200
@@ -16,8 +16,9 @@
depends=('gdbm' 'db' 'openssl' 'zlib' 'readline')
optdepends=('tk: for Ruby/TK')
-source=(ftp://ftp.ruby-lang.org/pub/ruby/stable/$_pkgname-$_pkgver.tar.bz2)
-md5sums=('2f14f604bf981bb938ab5fc8b09eb1a6')
+source=(ftp://ftp.ruby-lang.org/pub/ruby/stable/$_pkgname-$_pkgver.tar.bz2 ruby-1.8.7-p334.patch)
+md5sums=('2f14f604bf981bb938ab5fc8b09eb1a6' '21483d85de54e987be914a924bea10d3')
+
build() {
cd "${srcdir}/${_pkgname}-${_pkgver}"
@@ -26,6 +27,7 @@
--disable-rpath \
--enable-shared \
--enable-pthread
+ patch -Np1 < ${srcdir}/ruby-1.8.7-p334.patch
make
}