To: vim_dev@googlegroups.com Subject: Patch 8.2.2312 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2312 Problem: Build failure with Ruby 3.0 and 32 bits. Solution: Add #ifdef. (closes #7638) Files: src/if_ruby.c *** ../vim-8.2.2311/src/if_ruby.c 2020-12-31 17:40:57.536087870 +0100 --- src/if_ruby.c 2021-01-08 19:29:21.296510492 +0100 *************** *** 612,622 **** --- 612,624 ---- { dll_rb_check_type(obj, t); } + # if VIM_SIZEOF_INT < VIM_SIZEOF_LONG // 64 bits only unsigned long rb_num2uint_stub(VALUE x) { return dll_rb_num2uint(x); } + # endif void ruby_malloc_size_overflow_stub(size_t x, size_t y) { *** ../vim-8.2.2311/src/version.c 2021-01-07 22:02:58.688148992 +0100 --- src/version.c 2021-01-08 19:30:50.272211661 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2312, /**/ -- hundred-and-one symptoms of being an internet addict: 112. You are amazed that anyone uses a phone without data...let alone hear actual voices. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///