diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2007-01-02 16:23:42 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2007-01-02 16:23:42 +0000 |
commit | f2889b4db39b831f5e50d501b11d93e5cf0bdef0 (patch) | |
tree | 859fb4b82f06f9d65272a4d7e9b47cb2c4a34bb0 /lang/ruby18/files | |
parent | beb6a7c8a7282fddb642e4f0419947352fc9a76d (diff) |
Notes
Diffstat (limited to 'lang/ruby18/files')
-rw-r--r-- | lang/ruby18/files/obsoleted | 26 | ||||
-rw-r--r-- | lang/ruby18/files/patch-ext-dbm-extconf.rb | 11 | ||||
-rw-r--r-- | lang/ruby18/files/patch-lib_cgi.rb | 36 |
3 files changed, 0 insertions, 73 deletions
diff --git a/lang/ruby18/files/obsoleted b/lang/ruby18/files/obsoleted deleted file mode 100644 index 59944534367a..000000000000 --- a/lang/ruby18/files/obsoleted +++ /dev/null @@ -1,26 +0,0 @@ -bigfloat -csv -dl -drb -erb -fileutils -gserver -openssl -optparse -racc-runtime -rdoc -rexml -ri -sha1 -shell -soap -strscan -syslog -testunit -timex -urb -uri -webrick -xmlrpc -yaml -zlib diff --git a/lang/ruby18/files/patch-ext-dbm-extconf.rb b/lang/ruby18/files/patch-ext-dbm-extconf.rb deleted file mode 100644 index 11925747c5d0..000000000000 --- a/lang/ruby18/files/patch-ext-dbm-extconf.rb +++ /dev/null @@ -1,11 +0,0 @@ ---- ext/dbm/extconf.rb.orig Sat Aug 26 20:04:57 2006 -+++ ext/dbm/extconf.rb Sat Aug 26 21:48:20 2006 -@@ -55,7 +55,7 @@ - - have_header("cdefs.h") - have_header("sys/cdefs.h") --if /DBM_HDR/ =~ $CFLAGS and have_func(db_prefix("dbm_open")) -+if $defs.each { |d| /DBM_HDR/ =~ d } and have_func(db_prefix("dbm_open")) - have_func(db_prefix("dbm_clearerr")) unless $dbm_conf_have_gdbm - create_makefile("dbm") - end diff --git a/lang/ruby18/files/patch-lib_cgi.rb b/lang/ruby18/files/patch-lib_cgi.rb deleted file mode 100644 index 4d30b212eab6..000000000000 --- a/lang/ruby18/files/patch-lib_cgi.rb +++ /dev/null @@ -1,36 +0,0 @@ ---- lib/cgi.rb.orig Tue Aug 22 13:38:19 2006 -+++ lib/cgi.rb Mon Dec 4 23:22:42 2006 -@@ -967,6 +967,7 @@ - def read_multipart(boundary, content_length) - params = Hash.new([]) - boundary = "--" + boundary -+ quoted_boundary = Regexp.quote(boundary, "n") - buf = "" - bufsize = 10 * 1024 - boundary_end="" -@@ -998,7 +999,7 @@ - end - body.binmode if defined? body.binmode - -- until head and /#{boundary}(?:#{EOL}|--)/n.match(buf) -+ until head and /#{quoted_boundary}(?:#{EOL}|--)/n.match(buf) - - if (not head) and /#{EOL}#{EOL}/n.match(buf) - buf = buf.sub(/\A((?:.|\n)*?#{EOL})#{EOL}/n) do -@@ -1018,14 +1019,14 @@ - else - stdinput.read(content_length) - end -- if c.nil? -+ if c.nil? || c.empty? - raise EOFError, "bad content body" - end - buf.concat(c) - content_length -= c.size - end - -- buf = buf.sub(/\A((?:.|\n)*?)(?:[\r\n]{1,2})?#{boundary}([\r\n]{1,2}|--)/n) do -+ buf = buf.sub(/\A((?:.|\n)*?)(?:[\r\n]{1,2})?#{quoted_boundary}([\r\n]{1,2}|--)/n) do - body.print $1 - if "--" == $2 - content_length = -1 |