summaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-16 01:43:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-16 01:43:29 +0000
commit09a488b9487002b1b68455c65c303d9109a6727f (patch)
treeb6d86a78cce84cad83b514a7f7e61ae4b746ce85 /lang/ruby18
parent- Update for 1.8.4 (diff)
- Fix bug: FileUtils.mv() does not unlink source file when moving over
filesystem boundaries Reported by: Virgil Champlin <champlin@stupidog.org>
Notes
Notes: svn path=/head/; revision=153609
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/Makefile2
-rw-r--r--lang/ruby18/files/patch-fileutils.rb10
2 files changed, 11 insertions, 1 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index fe5a85b29333..e483d268b9f7 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ruby
PORTVERSION= ${RUBY_PORTVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= lang ruby ipv6
MASTER_SITES= ${MASTER_SITE_RUBY}
diff --git a/lang/ruby18/files/patch-fileutils.rb b/lang/ruby18/files/patch-fileutils.rb
new file mode 100644
index 000000000000..93930cd4c5b6
--- /dev/null
+++ b/lang/ruby18/files/patch-fileutils.rb
@@ -0,0 +1,10 @@
+--- lib/fileutils.rb.orig Sun Nov 20 02:23:41 2005
++++ lib/fileutils.rb Mon Jan 16 02:08:47 2006
+@@ -501,6 +501,7 @@
+ File.rename s, d
+ rescue Errno::EXDEV
+ copy_entry s, d, true
++ File.unlink s
+ end
+ rescue SystemCallError
+ raise unless options[:force]