diff options
author | dbj <dbj@pkgsrc.org> | 2016-02-16 04:21:40 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2016-02-16 04:21:40 +0000 |
commit | e998b3f9d1c238f853bc01bf5420bdab876a52ef (patch) | |
tree | b977bf95991f79b0533ac743896530e28afd7a40 /math/octave/patches/patch-libinterp_corefcn_rand.cc | |
parent | da1b54916d7d7d326a7eb1b5c5b7a8086a6ce15f (diff) | |
download | pkgsrc-e998b3f9d1c238f853bc01bf5420bdab876a52ef.tar.gz |
update to octave-4.0.0
Octave 4.0 is a major new release with many new features,
including a graphical user interface, support for classdef
object-oriented programming, better compatibility with Matlab,
and many new and improved functions.
A list of important user-visible changes is availble at
http://octave.org/NEWS-4.0.html, by selecting the Release Notes
item in the News menu of the GUI, or by typing news at the Octave
command prompt.
Diffstat (limited to 'math/octave/patches/patch-libinterp_corefcn_rand.cc')
-rw-r--r-- | math/octave/patches/patch-libinterp_corefcn_rand.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/octave/patches/patch-libinterp_corefcn_rand.cc b/math/octave/patches/patch-libinterp_corefcn_rand.cc new file mode 100644 index 00000000000..765aab961ff --- /dev/null +++ b/math/octave/patches/patch-libinterp_corefcn_rand.cc @@ -0,0 +1,18 @@ +$NetBSD: patch-libinterp_corefcn_rand.cc,v 1.1 2016/02/16 04:21:40 dbj Exp $ + +--- libinterp/corefcn/rand.cc.orig 2015-05-23 14:21:53.000000000 +0000 ++++ libinterp/corefcn/rand.cc +@@ -1139,10 +1139,10 @@ likely.\n\ + @end deftypefn") + { + +-#ifdef USE_UNORDERED_MAP_WITH_TR1 +-using std::tr1::unordered_map; +-#else ++#if defined (HAVE_UNORDERED_MAP) + using std::unordered_map; ++#else ++using std::tr1::unordered_map; + #endif + + int nargin = args.length (); |