diff options
author | adam <adam@pkgsrc.org> | 2005-03-26 18:56:21 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2005-03-26 18:56:21 +0000 |
commit | f89af897d04877bb0350db74838403481aeb19e9 (patch) | |
tree | d7aa1eab228f505f87efc6e418c8d4376b9f6796 /math/octave-current/patches | |
parent | b14d1ec5a2043e7eb011843df57d869a2958a90c (diff) | |
download | pkgsrc-f89af897d04877bb0350db74838403481aeb19e9.tar.gz |
patch-ab obsolete
Diffstat (limited to 'math/octave-current/patches')
-rw-r--r-- | math/octave-current/patches/patch-ab | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/math/octave-current/patches/patch-ab b/math/octave-current/patches/patch-ab deleted file mode 100644 index 3752e765daf..00000000000 --- a/math/octave-current/patches/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2005/03/10 12:55:08 dmcmahill Exp $ - -fix compilation on solaris. Patch taken from octave's cvs - ---- liboctave/file-ops.cc.orig 2005-02-09 18:11:11.000000000 -0500 -+++ liboctave/file-ops.cc 2005-03-09 07:52:22.689776000 -0500 -@@ -356,7 +356,7 @@ - // directory if the path is not absolute. - -- name = octave_env::make_absolute (name); -+ std::string absolute_name = octave_env::make_absolute (name, octave_env::getcwd() ); - -- size_t resolved_size = name.length (); -+ size_t resolved_size = absolute_name.length (); - - while (1) -@@ -366,5 +366,5 @@ - OCTAVE_LOCAL_BUFFER (char, resolved, resolved_size); - -- resolved_len = ::resolvepath (name, resolved, resolved_size); -+ int resolved_len = ::resolvepath (absolute_name.c_str(), resolved, resolved_size); - - if (resolved_len < 0) |