diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2021-02-21 22:41:34 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2021-02-21 22:41:34 +0000 |
commit | 6473aac25b6dc63be299faa4fc1ed9cde77f1957 (patch) | |
tree | 5f81e978342b34ec7b1784c80dc5be7182d55dcf /math/octave-forge-gsl/files/patch-gsl__sf.cc | |
parent | - Fix pkg-plist (diff) |
- Update math/octave to 6.2.0.
- Bump portrevision of dependent ports.
- Add patches to dependent ports math/octave-forge-* if I can figure them out.
- Mark broken dependent ports I couldn't figure out.
Notes
Notes:
svn path=/head/; revision=566249
Diffstat (limited to 'math/octave-forge-gsl/files/patch-gsl__sf.cc')
-rw-r--r-- | math/octave-forge-gsl/files/patch-gsl__sf.cc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/math/octave-forge-gsl/files/patch-gsl__sf.cc b/math/octave-forge-gsl/files/patch-gsl__sf.cc new file mode 100644 index 000000000000..4849f194f6cd --- /dev/null +++ b/math/octave-forge-gsl/files/patch-gsl__sf.cc @@ -0,0 +1,26 @@ +--- gsl_sf.cc.orig 2021-02-21 21:41:43 UTC ++++ gsl_sf.cc +@@ -26,11 +26,7 @@ + #include <gsl/gsl_errno.h> + #include <gsl/gsl_version.h> + +-#ifdef OCTAVE_HAS_OV_ISREAL_METHOD + #define ISREAL(x) ((x).isreal ()) +-#else +-#define ISREAL(x) ((x).is_real_type ()) +-#endif + + void octave_gsl_errorhandler (const char * reason, const char * file, + int line, int gsl_errno) +@@ -47,11 +43,7 @@ special functions of the GNU Scientific Library (GSL). + \n\ + @end deftypefn\n") + { +-#ifdef OCTAVE_HAS_FEVAL_IN_OCTAVE_NAMESPACE + octave::feval ("help", octave_value ("gsl_sf")); +-#else +- feval ("help", octave_value ("gsl_sf")); +-#endif + + return octave_value(); + } |