aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade/files/patch-lib_pkgmisc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/portupgrade/files/patch-lib_pkgmisc.rb')
-rw-r--r--ports-mgmt/portupgrade/files/patch-lib_pkgmisc.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/files/patch-lib_pkgmisc.rb b/ports-mgmt/portupgrade/files/patch-lib_pkgmisc.rb
new file mode 100644
index 000000000000..c1b4a14e99e9
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-lib_pkgmisc.rb
@@ -0,0 +1,19 @@
+diff --git a/lib/pkgmisc.rb b/lib/pkgmisc.rb
+index 225408a..83ea9da 100644
+--- lib/pkgmisc.rb
++++ lib/pkgmisc.rb
+@@ -94,14 +94,6 @@ def shelljoin(*args)
+ }.join(' ')
+ end
+
+-class File
+- if not File.respond_to?('realpath') then
+- def File.realpath(path)
+- return File.expand_path(path)
+- end
+- end
+-end
+-
+ def init_tmpdir
+ if ! $tmpdir.nil? && $tmpdir != "" then
+ return