FreeBSD Bugzilla – Attachment 114764 Details for
Bug 156474
[PATCH] devel/ruby-robjectteam (patch to enable compiling with RUBY_VER 1.9)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.12 KB, created by
Eric Freeman
on 2011-04-18 15:40:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Eric Freeman
Created:
2011-04-18 15:40:04 UTC
Size:
1.12 KB
patch
obsolete
>diff -ruN ruby-robjectteam.orig/files/patch-install.rb ruby-robjectteam/files/patch-install.rb >--- ruby-robjectteam.orig/files/patch-install.rb 1970-01-01 01:00:00.000000000 +0100 >+++ ruby-robjectteam/files/patch-install.rb 2011-04-18 11:32:55.000000000 +0100 >@@ -0,0 +1,30 @@ >+--- install.rb.orig 2003-07-08 21:24:10.000000000 +0100 >++++ install.rb 2011-04-18 11:17:43.000000000 +0100 >+@@ -36,7 +36,7 @@ >+ =end >+ >+ require 'getoptlong' >+-require 'ftools' >++require 'fileutils' >+ require 'find' >+ >+ SOURCE_DIR = 'objectteam' >+@@ -81,7 +81,7 @@ >+ >+ def install(source, destination) >+ begin >+- File.install(source, destination, 0644, true) >++ FileUtils.install(source, destination, :mode => 0644, :verbose => true) >+ rescue Errno::EACCES >+ puts "Access not permitted! #{$!}" >+ rescue >+@@ -104,7 +104,7 @@ >+ #install directory >+ instdir = (instdir or install_dir()) >+ #make sink directory >+- File.makedirs(File.join(instdir, LIBDIR)) >++ FileUtils.mkdir_p(File.join(instdir, LIBDIR)) >+ #all ruby files beneath SOURCE_DIR >+ Find.find(SOURCE_DIR) { |f| >+ install(f, File.join(instdir, f)) if f =~ /.rb$/ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156474
: 114764