pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave-forge clean namespace pollution



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cdb3855a3a7
branches:  trunk
changeset: 520639:1cdb3855a3a7
user:      pooka <pooka%pkgsrc.org@localhost>
date:      Tue Oct 24 13:54:40 2006 +0000

description:
clean namespace pollution

fixes pkg/34642, patches contributed by Hans Rosenfeld

diffstat:

 math/octave-forge/distinfo         |   4 +++-
 math/octave-forge/patches/patch-aa |  13 +++++++++++++
 math/octave-forge/patches/patch-ab |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 8084985a2257 -r 1cdb3855a3a7 math/octave-forge/distinfo
--- a/math/octave-forge/distinfo        Tue Oct 24 13:50:07 2006 +0000
+++ b/math/octave-forge/distinfo        Tue Oct 24 13:54:40 2006 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.11 2006/04/20 18:16:47 adam Exp $
+$NetBSD: distinfo,v 1.12 2006/10/24 13:54:40 pooka Exp $
 
 SHA1 (octave-forge-2006.03.17.tar.gz) = fca78a6eee1a2d44d2441c9ed9d3ffe3c51689de
 RMD160 (octave-forge-2006.03.17.tar.gz) = 0875f4ea9c7d4f3b9b0834decdbf590fe5166fa6
 Size (octave-forge-2006.03.17.tar.gz) = 3727272 bytes
+SHA1 (patch-aa) = 01a91d7e63d61f78b9fd391f62694e58bb68ccad
+SHA1 (patch-ab) = 5fa5009bd6e516d5ff8d611f92ac63d30326789c
 SHA1 (patch-ag) = 79fa60ff62548aac9293bc5f040fd0145b85720c
 SHA1 (patch-ak) = 49c63b4b2a92cb971410f325a077152d7b5ebcd8
 SHA1 (patch-al) = d6925ebcc11ea5ad0dfa9be0df614a74c7fa31d0
diff -r 8084985a2257 -r 1cdb3855a3a7 math/octave-forge/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/octave-forge/patches/patch-aa        Tue Oct 24 13:54:40 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2006/10/24 13:54:40 pooka Exp $
+
+--- main/sparse/make_sparse.h.orig     2006-10-20 12:53:46.000000000 +0200
++++ main/sparse/make_sparse.h  2006-10-20 12:54:36.000000000 +0200
+@@ -209,8 +209,6 @@
+ 
+ #include <string>
+ 
+-using namespace std;
+-
+ class ostream;
+ 
+ #ifdef NEED_OCTAVE_QUIT
diff -r 8084985a2257 -r 1cdb3855a3a7 math/octave-forge/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/octave-forge/patches/patch-ab        Tue Oct 24 13:54:40 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.6 2006/10/24 13:54:40 pooka Exp $
+
+--- main/sparse/make_sparse.cc.orig    2006-10-20 12:58:09.000000000 +0200
++++ main/sparse/make_sparse.cc 2006-10-20 12:58:23.000000000 +0200
+@@ -321,7 +321,7 @@
+                // if args(5) is not string, then ignore the value
+                // otherwise check for summation or unique
+                if ( args(5).is_string()) {
+-                  string vv= args(5).string_value();
++                  std::string vv= args(5).string_value();
+                 if (error_state) return retval;
+ 
+                   if ( vv== "summation" ||



Home | Main Index | Thread Index | Old Index