mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
merge revision(s) r46485: [Backport #9897]
* ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION with 3-digit. libffi 3.1 returns just 2-digit. [ruby-core:62920] [Bug #9897] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bdf635bf5b
commit
1121fa0e4a
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Mon Jun 30 01:46:19 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION
|
||||
with 3-digit. libffi 3.1 returns just 2-digit.
|
||||
[ruby-core:62920] [Bug #9897]
|
||||
|
||||
Mon Jun 30 00:57:05 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
|
||||
|
|
|
@ -7,7 +7,8 @@ dir_config 'libffi'
|
|||
pkg_config("libffi")
|
||||
if ver = pkg_config("libffi", "modversion")
|
||||
ver = ver.gsub(/-rc\d+/, '') # If ver contains rc version, just ignored.
|
||||
$defs.push(%{-DRUBY_LIBFFI_MODVERSION=#{ '%d%03d%03d' % ver.split('.') }})
|
||||
ver = (ver.split('.') + [0,0])[0,3]
|
||||
$defs.push(%{-DRUBY_LIBFFI_MODVERSION=#{ '%d%03d%03d' % ver }})
|
||||
end
|
||||
|
||||
unless have_header('ffi.h')
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.1.2"
|
||||
#define RUBY_RELEASE_DATE "2014-06-30"
|
||||
#define RUBY_PATCHLEVEL 146
|
||||
#define RUBY_PATCHLEVEL 147
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2014
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue