Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/ruby/files: auto_gem.rb ruby-1.8.6-uclibc-udp.patch ruby18-mkmf-parallel-install.patch ruby19-mkmf-parallel-install.patch
Date: Fri, 03 Apr 2009 12:26:28
Message-Id: E1LpiTZ-0000jh-O6@stork.gentoo.org
1 a3li 09/04/03 12:26:25
2
3 Added: auto_gem.rb ruby-1.8.6-uclibc-udp.patch
4 ruby18-mkmf-parallel-install.patch
5 ruby19-mkmf-parallel-install.patch
6 Log:
7 Fixing bugs 239101 and 260760, thanks to matsuu and Tom. Migrating 1.9.1 to EAPI-2 and other minor fixes
8 (Portage version: 2.2_rc28/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 dev-lang/ruby/files/auto_gem.rb
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/auto_gem.rb?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/auto_gem.rb?rev=1.1&content-type=text/plain
15
16 Index: auto_gem.rb
17 ===================================================================
18 # DO NOT USE THIS FILE!
19 # ---------------------
20 # This file is a placebo for Ruby 1.9 to work with a legacy feature, Gentoo
21 # added to Ruby 1.8 and earlier, loading rubygems automatically (auto_gem).
22 # It is no longer needed, but ruby19 needs this file to operate properly on
23 # a system containing older versions of Ruby and thus the legacy feature.
24 #
25 # REMOVAL NOTE:
26 # You may remove this file if you are running a Ruby >=1.9.1 *only* system
27 # or have disabled the Gentoo auto_gem.rb/RUBYOPT=auto_gem magic.
28
29
30
31 1.1 dev-lang/ruby/files/ruby-1.8.6-uclibc-udp.patch
32
33 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby-1.8.6-uclibc-udp.patch?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby-1.8.6-uclibc-udp.patch?rev=1.1&content-type=text/plain
35
36 Index: ruby-1.8.6-uclibc-udp.patch
37 ===================================================================
38 Patch for bug 260760. Fixes UDP sockets on uClibc systems.
39
40 diff --exclude '*~' -uNr ruby-1.8.6-p36.orig/configure.in ruby-1.8.6-p36/configure.in
41 --- configure.in.orig 2007-05-22 19:19:07.000000000 +0100
42 +++ configure.in 2007-08-29 09:42:47.000000000 +0100
43 @@ -707,6 +707,7 @@
44 __ptr dnl
45 bufpos dnl
46 _p dnl
47 + __bufpos dnl
48 ; do
49 AC_TRY_COMPILE([#include <stdio.h>
50 ],
51 @@ -726,6 +727,7 @@
52 [for frend in dnl
53 _IO_read_end dnl
54 bufread dnl
55 + __bufread dnl
56 ; do
57 AC_TRY_COMPILE([#include <stdio.h>
58 ],
59
60
61
62 1.1 dev-lang/ruby/files/ruby18-mkmf-parallel-install.patch
63
64 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby18-mkmf-parallel-install.patch?rev=1.1&view=markup
65 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby18-mkmf-parallel-install.patch?rev=1.1&content-type=text/plain
66
67 Index: ruby18-mkmf-parallel-install.patch
68 ===================================================================
69 Patch for bug 239101 by Matsuu Takuto, via Redmine issue 1337 (yes, really).
70 Backported for 1.8.* by Alex Legler.
71
72 --- lib/mkmf.orig 2009-04-03 13:04:17.000000000 +0200
73 +++ lib/mkmf.rb 2009-04-03 13:04:30.000000000 +0200
74 @@ -1500,7 +1500,7 @@
75 dest = "#{dir}/#{f}"
76 mfile.puts dir, "install-so: #{dest}"
77 unless $extout
78 - mfile.print "#{dest}: #{f}\n"
79 + mfile.print "#{dest}: #{dir} #{f}\n"
80 if (sep = config_string('BUILD_FILE_SEPARATOR'))
81 f.gsub!("/", sep)
82 dir.gsub!("/", sep)
83
84
85
86 1.1 dev-lang/ruby/files/ruby19-mkmf-parallel-install.patch
87
88 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby19-mkmf-parallel-install.patch?rev=1.1&view=markup
89 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby19-mkmf-parallel-install.patch?rev=1.1&content-type=text/plain
90
91 Index: ruby19-mkmf-parallel-install.patch
92 ===================================================================
93 Patch for bug 239101 by Matsuu Takuto, via Redmine issue 1337 (yes, really).
94
95 --- lib/mkmf.rb (revision 23101)
96 +++ lib/mkmf.rb (working copy)
97 @@ -1710,7 +1710,7 @@
98 mfile.print "\t@-$(RM) #{fseprepl[dest]}\n"
99 mfile.print "\t@-$(RMDIRS) #{fseprepl[dir]}\n"
100 else
101 - mfile.print "#{dest}: #{f}\n"
102 + mfile.print "#{dest}: #{dir} #{f}\n"
103 mfile.print "\t$(INSTALL_PROG) #{fseprepl[f]} #{fseprepl[dir]}\n"
104 if defined?($installed_list)
105 mfile.print "\t@echo #{dir}/#{File.basename(f)}>>$(INSTALLED_LIST)\n"