Project

General

Profile

Bug #12193 » 0002-add-ruby-version-2.3.patch

windwiny (wind winy), 03/17/2016 03:37 PM

View differences:

config/ruby_installer.rb
:file => 'cacert.pem'
)
BaseVersions = %w(18 19 20 21 22)
BaseVersions = %w(18 19 20 21 22 23)
Ruby18 = OpenStruct.new(
:number => "18",
......
:installer_guid_x64 => "{A98E44F8-6401-400F-830E-B1A2919C22BD}"
)
Ruby23 = OpenStruct.new(
:number => "23",
:version => "2.3.0",
:short_version => 'ruby23',
:url => "http://cache.ruby-lang.org/pub/ruby/2.3/",
:checkout => 'http://svn.ruby-lang.org/repos/ruby/branches/ruby_2_3',
:checkout_target => 'downloads/ruby_2_3',
:target => 'sandbox/ruby_2_3',
:doc_target => 'sandbox/doc/ruby23',
:build_target => 'sandbox/ruby23_build',
:install_target => 'sandbox/ruby23_mingw',
:patches => 'resources/patches/ruby23',
:configure_options => [
'--enable-shared',
'--disable-install-doc',
'debugflags=-g',
"CPPFLAGS='-DFD_SETSIZE=2048'"
],
:files => [
"ruby-2.3.0.tar.bz2"
],
:dependencies => [
:ffi, :gdbm, :openssl, :yaml, :zlib, :tcl, :tk
],
:excludes => [],
:installer_guid => "{FF67D821-E2CA-4B2A-871F-4624C567AAF7}",
:installer_guid_x64 => "{96A4CEEE-5ACC-4FB2-AAB6-8152D5AB0C9E}"
)
# COMPAT mode for Ruby 1.9.2
if ENV['COMPAT'] then
Ruby19.version = "1.9.2-p290"
......
Ruby19 => '{17E73B15-62D2-43FD-B851-ACF86A8C9D25}',
Ruby20 => '{73A045D3-1C69-4885-B055-A5379CC7E603}',
Ruby21 => '{04C58EFB-39FF-42E8-ADA1-3F588D2F2E10}',
Ruby22 => "{245A7D99-7BDE-4CC7-A872-63E47C73174B}"
Ruby22 => "{245A7D99-7BDE-4CC7-A872-63E47C73174B}",
Ruby23 => "{E5385270-5AEF-462F-BEA0-27F72897E2A4}",
}.each do |k, v|
k.patches = nil
k.target = File.expand_path(ENV['LOCAL'].gsub('\\', File::SEPARATOR))
......
Ruby20.dependencies.delete(pkg)
Ruby21.dependencies.delete(pkg)
Ruby22.dependencies.delete(pkg)
Ruby23.dependencies.delete(pkg)
end
end
(2-2/6)