[ruby-cvs:55021] yugui:r47872 (trunk): Merges a patch form naclports.

yugui at ruby-lang.org yugui at ruby-lang.org
Sat Oct 11 11:11:55 JST 2014


yugui	2014-10-11 11:11:53 +0900 (Sat, 11 Oct 2014)

  New Revision: 47872

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47872

  Log:
    Merges a patch form naclports.
    
    * configure.in (RUBY_NACL and others): Supports PNaCl.
    * dln.c: replace the old hacky dynamic loading over HTTP with nacl_io.
    * file.c: tenatively use access(2) instead of eaccess.
      (rb_file_load_ok): weaken with attribute but not by postprocess.
    * io.c (socket.h): now NaCl has socket.h
      (flock): disable here instead of nacl/ioctl.h
    * nacl/GNUmakefile.in (CC, LD, NM, AR, AS, RANLIB, OBJDUMP, OBJCOPY):
      respect path to them if they are absolute.
      This helps naclports to build ruby in their source tree.
      (PROGRAM_NMF, .SUFFIXES): support .pnexe for PNaCl.
      (ruby.o, file.o): move the hack to attributes in ruby.c and file.c
    * nacl/ioctl.h: removed. move the hack to io.c.
    * nacl/nacl-config.rb: support arm, pnacl and others.
    * nacl/pepper_main.c: support build in a naclports tree.
    * ruby.c (rb_load_file): weaken with attribute but not by postprocess.
    
    The patch is by sbc at google.com and the Native Client Authors.
    It is available at:
    * https://chromium.googlesource.com/external/naclports.git/+/873ca4910a5f9d4206306aacb4ed79c587c6a5f3/ports/ruby/nacl.patch

  Removed files:
    trunk/nacl/ioctl.h
  Modified files:
    trunk/configure.in
    trunk/dln.c
    trunk/file.c
    trunk/io.c
    trunk/nacl/GNUmakefile.in
    trunk/nacl/README.nacl
    trunk/nacl/nacl-config.rb
    trunk/nacl/pepper_main.c
    trunk/ruby.c


More information about the ruby-cvs mailing list