[Lunar-commits] <moonbase> ruby: Adding a patch to fix this problem;

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon Nov 28 03:10:58 CET 2011


commit ddc4639254c4079912642027169b9aaff4942876
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Nov 27 21:10:58 2011 -0500

    ruby: Adding a patch to fix this problem;
    
    http://stackoverflow.com/questions/6134456/error-while-installing-ruby-1-8-7-on-fedora-15
    https://gist.github.com/1083163
    
    Not sure if it due to the glibc or binutils bump but its the same problem I had and this
    fixed it.
---
 compilers/ruby/BUILD   |    9 +++++++--
 compilers/ruby/DETAILS |    3 +++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/compilers/ruby/BUILD b/compilers/ruby/BUILD
index 863607b..b3ffbc3 100644
--- a/compilers/ruby/BUILD
+++ b/compilers/ruby/BUILD
@@ -1,8 +1,13 @@
 (
 
-  bad_flags -fomit-frame-pointer
-  OPTS+=" --enable-frame-address --enable-pthread --enable-shared"
+  bad_flags -fomit-frame-pointer &&
+
+  OPTS+=" --enable-frame-address --enable-pthread --enable-shared" &&
+
+  patch_it $SOURCE2 0 &&
+ 
   default_build  &&
+
   make install-doc
 
 ) > $C_FIFO 2>&1
diff --git a/compilers/ruby/DETAILS b/compilers/ruby/DETAILS
index 4aecc41..92a8c99 100644
--- a/compilers/ruby/DETAILS
+++ b/compilers/ruby/DETAILS
@@ -1,9 +1,12 @@
           MODULE=ruby
          VERSION=1.8.7-p352
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=ruby-1.8.7-p352-callback-function.01.patch
    SOURCE_URL[0]=http://ftp.ruby-lang.org/pub/$MODULE/1.8
    SOURCE_URL[1]=http://gd.tuwien.ac.at/languages/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:9f3d039e9bfeda54ea2c2175bbeace375a1ea1ae
+     SOURCE2_VFY=sha102149806653a26ba292fb5607858da4284d972ed
         WEB_SITE=http://www.ruby-lang.org/en
          ENTERED=20020106
          UPDATED=20110706


More information about the Lunar-commits mailing list