summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2007-12-29 11:09:26 +0000
committeradam <adam@pkgsrc.org>2007-12-29 11:09:26 +0000
commitd4f2de73dfc67d58df472e9908a29e06ce64978c (patch)
tree809c255b06e7d17f4cd1a58e4dbdb801bc720c31 /math
parentb9572cc2983834d0d7e2e8853cd0f546fd0d7a55 (diff)
downloadpkgsrc-d4f2de73dfc67d58df472e9908a29e06ce64978c.tar.gz
Fix PR#37553
Diffstat (limited to 'math')
-rw-r--r--math/octave-current/distinfo3
-rw-r--r--math/octave-current/patches/patch-aj13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/octave-current/distinfo b/math/octave-current/distinfo
index a7a0bbb0e95..19c7e86a5e4 100644
--- a/math/octave-current/distinfo
+++ b/math/octave-current/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2007/12/15 05:54:50 adam Exp $
+$NetBSD: distinfo,v 1.39 2007/12/29 11:09:26 adam Exp $
SHA1 (octave-2.9.19.tar.bz2) = 1cee64ccbcce0aca2b771175fcfbca817c9ba705
RMD160 (octave-2.9.19.tar.bz2) = c0f7d7b384f3e2f51cdb7ee0360d4ddf52e4493a
@@ -12,3 +12,4 @@ SHA1 (patch-af) = 495eb9a5431cfce68dd52b996c2e2e3f7c98b2b8
SHA1 (patch-ag) = 824c9e56172c836a71442012a1e6ffbc9f8de723
SHA1 (patch-ah) = 240fd27ce0b4b9a18e39851139cecd9c71a0bdcc
SHA1 (patch-ai) = aa1dbef826fcd2bf0066db7fca4e0ea077b07268
+SHA1 (patch-aj) = 9353f42e2f0d92f5aec524de2b397aa07908c3f8
diff --git a/math/octave-current/patches/patch-aj b/math/octave-current/patches/patch-aj
new file mode 100644
index 00000000000..c13c2ad3ffe
--- /dev/null
+++ b/math/octave-current/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.5 2007/12/29 11:09:44 adam Exp $
+
+--- liboctave/file-ops.cc.orig 2007-12-29 04:26:48.000000000 +0100
++++ liboctave/file-ops.cc
+@@ -854,7 +854,7 @@ file_ops::unlink (const std::string& nam
+ bool
+ file_ops::is_dir_sep (char c)
+ {
+- return dir_sep_chars.find (c) != NPOS;
++ return c == dir_sep_char;
+ }
+
+ std::string