pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/34642
The following reply was made to PR pkg/34642; it has been noted by GNATS.
From: Greg Oster <oster%cs.usask.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/34642
Date: Fri, 20 Oct 2006 16:27:14 -0600
Hans Rosenfeld writes:
> The following reply was made to PR pkg/34642; it has been noted by GNATS.
>
> From: Hans Rosenfeld <rosenfeld%grumpf.hope-2000.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/34642
> Date: Fri, 20 Oct 2006 13:41:36 +0200
>
> --envbJBWh7q8WU6mo
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> This error is because of a namespace pollution in
> main/sparse/make_sparse.h, the two attached patches remove that
> namespace pollution and make octave-forge build with gcc4.
>
> --envbJBWh7q8WU6mo
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename=patch-local-ab
>
> --- 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" ||
>
> --envbJBWh7q8WU6mo
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename=patch-local-aa
>
> --- 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
>
> --envbJBWh7q8WU6mo--
>
This fixes the build for me too... Thanks!
Later...
Greg Oster
Home |
Main Index |
Thread Index |
Old Index