summaryrefslogtreecommitdiff
path: root/math/octave-forge-tisean/files/patch-lazy.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-09-05 11:40:24 +0000
committerRene Ladan <rene@FreeBSD.org>2019-09-05 11:40:24 +0000
commitfc31075d85494a429c83dc15560c42efdfe3245d (patch)
treec57ed201463e2fa5875d2c2ce896968f3d74c56d /math/octave-forge-tisean/files/patch-lazy.cc
parentmail/mailscanner: drop CLAMAVMODULE support depending on expired mail/p5-Mail... (diff)
Remove expired ports:
2019-09-04 devel/ace+tao-doc: Broken for more than 6 months 2019-09-04 devel/dfmt: Broken for more than 6 months 2019-09-04 devel/ignition-transport: Broken for more than 6 months 2019-09-04 devel/spin: Broken for more than 6 months 2019-09-04 editors/dexed: Depends on expiring devel/dfmt 2019-09-04 editors/p5-Padre: Depends on expiring x11-toolkits/p5-Wx 2019-09-04 emulators/qemu2: Latest 3.X branch is in ports tree 2019-09-04 games/asc: Broken for more than 6 months 2019-09-04 games/slade: Broken for more than 6 months 2019-09-04 graphics/gimp-wavelet-decompose-plugin: Broken for more than 6 months 2019-09-04 graphics/py-pyembree: Depends on expiring graphics/embree 2019-09-04 irc/irssi-otr: Broken for more than 6 months 2019-09-04 mail/p5-Mail-ClamAV: Broken for more than 6 months 2019-09-04 mail/qmail-ldap: Broken for more than 6 months 2019-09-04 math/fityk: Broken for more than 6 months 2019-09-04 math/octave-forge-econometrics: Broken for more than 6 months 2019-09-04 math/octave-forge-fits: Broken for more than 6 months 2019-09-04 math/octave-forge-linear-algebra: Broken for more than 6 months 2019-09-04 math/octave-forge-mechanics: Broken for more than 6 months 2019-09-04 math/octave-forge-parallel: Broken for more than 6 months 2019-09-04 math/octave-forge-strings: Broken for more than 6 months 2019-09-04 math/octave-forge-tisean: Broken for more than 6 months 2019-09-04 math/octave-forge-video: Broken for more than 6 months 2019-09-04 math/py-yt: Depends on expiring graphics/embree 2019-09-04 misc/gnustep-examples: Broken for more than 6 months 2019-09-04 net/turses: Depends on expiring net/py-tweepy 2019-09-04 security/clamcour: Broken for more than 6 months 2019-09-04 security/honeybadger: Broken for more than 6 months 2019-09-04 sysutils/freefilesync: Broken for more than 6 months 2019-09-04 sysutils/log-courier: Broken for more than 6 months 2019-09-04 textproc/py-orange3-text: Broken for more than 6 months 2019-09-05 www/feedjack: Upstream gone 2019-09-04 www/havp: Broken for more than 6 months 2019-07-31 www/rubygem-webpack-rails-rails5: Upstream no longer maintained, use devel/rubygem-webpacker-rails* instead 2019-09-04 x11-toolkits/p5-Wx-GLCanvas: Depends on expiring x11-toolkits/p5-Wx 2019-09-04 x11-toolkits/p5-Wx-Perl-ProcessStream: Depends on expiring x11-toolkits/p5-Wx 2019-09-04 x11-wm/golem: Broken for more than 6 months 2019-09-04 x11-wm/pawm: Broken for more than 6 months
Diffstat (limited to 'math/octave-forge-tisean/files/patch-lazy.cc')
-rw-r--r--math/octave-forge-tisean/files/patch-lazy.cc58
1 files changed, 0 insertions, 58 deletions
diff --git a/math/octave-forge-tisean/files/patch-lazy.cc b/math/octave-forge-tisean/files/patch-lazy.cc
deleted file mode 100644
index ae8631135e28..000000000000
--- a/math/octave-forge-tisean/files/patch-lazy.cc
+++ /dev/null
@@ -1,58 +0,0 @@
---- lazy.cc.orig 2015-08-14 22:25:52 UTC
-+++ lazy.cc
-@@ -35,7 +35,7 @@ Performs simple nonlinear noise reductio
- @item X\n\
- Must be realvector. If it is a row vector then the output will be row vectors as well.\n\
- @item m\n\
--Embedding dimension. Must be postive integer.\n\
-+Embedding dimension. Must be positive integer.\n\
- @item rv\n\
- If @var{rv} > 0 then it is equal to the absolute radius of the neighbourhoods. If @var{rv} < 0 then its opposite (-@var{rv}) is equal to the fraction of standard deviation used. It cannot be equal 0.\n\
- @item imax\n\
-@@ -71,12 +71,19 @@ Uses TISEAN package lazy\n\
- // In order to avoid clobbered warnings transposed is initialized globally.
- bool transposed;
-
-+#if defined (OCTAVE_HAVE_F77_INT_TYPE)
-+# define TO_F77_INT(x) octave::to_f77_int (x)
-+#else
-+typedef octave_idx_type F77_INT;
-+# define TO_F77_INT(x) (x)
-+#endif
-+
- extern "C"
- {
- F77_RET_T
- F77_FUNC (ts_lazy, TS_LAZY)
-- (const int& m, const double& rv,
-- const int& imax, const int& lines_read,
-+ (const F77_INT& m, const double& rv,
-+ const F77_INT& imax, const F77_INT& lines_read,
- double* in_out1, double* in_out2);
- }
-
-@@ -100,12 +107,12 @@ DEFUN_DLD (lazy, args, nargout, HELPTEXT
- {
- // Assigning inputs
- Matrix in_out1 = args(0).matrix_value();
-- int m = args(1).int_value();
-+ F77_INT m = TO_F77_INT (args(1).int_value());
- double rv = args(2).double_value();
-- int imax = DEFAULT_IMAX;
-+ F77_INT imax = DEFAULT_IMAX;
-
- if (nargin == 4)
-- imax = args(3).int_value();
-+ imax = TO_F77_INT (args(3).int_value());
-
- // --- DATA VALIDATION ---
-
-@@ -144,7 +151,7 @@ DEFUN_DLD (lazy, args, nargout, HELPTEXT
- in_out1 = in_out1.transpose();
- }
-
-- int lines_read = in_out1.numel();
-+ F77_INT lines_read = TO_F77_INT (in_out1.numel());
- NDArray in_out2 (Matrix (lines_read, 1));
-
- F77_XFCN (ts_lazy, TS_LAZY,