Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libpdl-io-matlab-perl
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Perl Group
modules
packages
libpdl-io-matlab-perl
Commits
c814c859
Commit
c814c859
authored
5 years ago
by
Bas Couwenberg
Browse files
Options
Downloads
Patches
Plain Diff
Add patch to fix FTBFS due to pod sections embedded in pp_addxs commands. (closes: #952305)
parent
db00ec00
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+2
-0
2 additions, 0 deletions
debian/changelog
debian/patches/pod.patch
+86
-0
86 additions, 0 deletions
debian/patches/pod.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
89 additions
and
0 deletions
debian/changelog
+
2
−
0
View file @
c814c859
...
...
@@ -4,6 +4,8 @@ libpdl-io-matlab-perl (0.005-4) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.5.0, no changes.
* Update watch file to use releases instead of tags.
* Update gbp.conf to use --source-only-changes by default.
* Add patch to fix FTBFS due to pod sections embedded in pp_addxs commands.
(closes: #952305)
[ gregor herrmann ]
* debian/control: update Build-Depends for cross builds.
...
...
This diff is collapsed.
Click to expand it.
debian/patches/pod.patch
0 → 100644
+
86
−
0
View file @
c814c859
Description: Fix FTBFS due to pod sections embedded in pp_addxs commands.
Author: Bas Couwenberg <sebastic@debian.org>
Bug-Debian: https://bugs.debian.org/952305
--- a/matlab.pd
+++ b/matlab.pd
@@ -869,38 +869,12 @@
if (RETVAL == -1) barf("PDL::IO::Matlab:
OUTPUT:
RETVAL
-=pod
-
-int
-_my_mat_feof(mat)
-mat_t * mat
-CODE:
-RETVAL = feof(mat->fp);
-OUTPUT:
-RETVAL
-
-=cut
-
-
');
pp_addxs ( '', '
-=pod
-
-void
-_extra_matio_print_all_var_info_new (matfp,printdata,max_cols,max_rows)
-mat_t * matfp
-int printdata
-int max_cols
-int max_rows
-CODE:
-extra_matio_print_all_var_info (matfp,printdata,max_cols,max_rows);
-
-=cut
-
void
_extra_matio_print_all_var_info (matfp,printdata)
mat_t * matfp
@@ -908,17 +882,6 @@
int printdata
CODE:
extra_matio_print_all_var_info(matfp,printdata);
-=pod
-
-following was a PITA. This returns undef if the
-reading matvar failed. The library does not seem
-to provide any way to detect EOF.
-
-Important not to use fprintf in this XS code. Can
-cause segfault.
-
-=cut
-
void
_convert_next_matvar_to_pdl(matfp,onedr)
mat_t * matfp
@@ -938,22 +901,6 @@
XPUSHs(p);
XPUSHs(s);
-=pod
-
-old method
-pdl *
-disa_convert_next_matvar_to_pdl(matfp)
-mat_t * matfp
-CODE:
-pdl * retval;
-matvar_t * matvar;
-retval = convert_next_matvar_to_pdl(matfp, &matvar);
-Mat_VarFree(matvar);
-ST(0) = sv_newmortal();
-if (retval != NULL) PDL->SetSV_PDL(ST(0),retval);
-
-=cut
-
int
_write_pdl_to_matlab_file (mat, piddle, varname, oned, compress)
mat_t * mat
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
c814c859
...
...
@@ -3,3 +3,4 @@
0003-printf-format-types-now-use-z-when-printing-size_t-d.patch
0004-Make-now-knows-about-a-source-dependency-and-can-reb.patch
0005-removed-POD-coverage-tests.-these-fail.-I-notified-u.patch
pod.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment