[Lunar-commits] <moonbase> ruby: add a patch to compile with openssl 1.0.0 version.

Florin Braescu florin at lunar-linux.org
Mon Apr 12 11:10:22 CEST 2010


commit cfba38fab0d310956f338412c20e8576523e15ec
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Apr 12 12:10:22 2010 +0300

    ruby: add a patch to compile with openssl 1.0.0 version.
---
 compilers/ruby/BUILD   |    3 ++-
 compilers/ruby/DETAILS |    5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/compilers/ruby/BUILD b/compilers/ruby/BUILD
index 6a38413..7abd863 100644
--- a/compilers/ruby/BUILD
+++ b/compilers/ruby/BUILD
@@ -1,8 +1,9 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
   bad_flags -fomit-frame-pointer
   OPTS="$OPTS --enable-frame-address --enable-pthread --enable-shared"
-  default_build &&
+  default_build  &&
   make install-doc
 
 ) > $C_FIFO 2>&1
diff --git a/compilers/ruby/DETAILS b/compilers/ruby/DETAILS
index 6c62fc3..e988c12 100644
--- a/compilers/ruby/DETAILS
+++ b/compilers/ruby/DETAILS
@@ -1,12 +1,15 @@
           MODULE=ruby
          VERSION=1.8.7-p249
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-openssl.patch.bz2
    SOURCE_URL[0]=http://ftp.ruby-lang.org/pub/$MODULE/1.8
    SOURCE_URL[1]=http://gd.tuwien.ac.at/languages/$MODULE
+     SOURCE2_URL=http://gd.tuwien.ac.at/languages/$MODULE
       SOURCE_VFY=sha1:4297b138e64e5caf523114a6213aa9d9b85e0550
+     SOURCE2_VFY=sha1:a1bde8227a6caed9cea2b026cdc42a9674a96096
         WEB_SITE=http://www.ruby-lang.org/en
          ENTERED=20020106
-         UPDATED=20100130
+         UPDATED=20100412
            SHORT="A scripting language"
 
 cat << EOF


More information about the Lunar-commits mailing list