[Pkg-octave-commit] [octave-nan] 02/03: d/p/build-against-libsvm-dev.patch: Adjust for new API of libsvm

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sun Aug 14 15:42:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository octave-nan.

commit 6b66501f049218e1d466b271f17af690bd3fa032
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Aug 14 11:53:37 2016 -0300

    d/p/build-against-libsvm-dev.patch: Adjust for new API of libsvm
---
 debian/patches/build-against-libsvm-dev.patch | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/patches/build-against-libsvm-dev.patch b/debian/patches/build-against-libsvm-dev.patch
index 3c0df4e..f739904 100644
--- a/debian/patches/build-against-libsvm-dev.patch
+++ b/debian/patches/build-against-libsvm-dev.patch
@@ -35,6 +35,14 @@ Last-Update: 2016-08-13
  
  #include "mex.h"
  
+@@ -284,6 +284,7 @@ struct svm_model *matlab_matrix_to_model
+ 	model->probA = NULL;
+ 	model->probB = NULL;
+ 	model->label = NULL;
++	model->sv_indices = NULL;
+ 	model->nSV = NULL;
+ 	model->free_sv = 1; /* XXX */
+ 
 --- octave-nan-3.0.2.orig/src/svmpredict_mex.cpp
 +++ octave-nan-3.0.2/src/svmpredict_mex.cpp
 @@ -28,7 +28,7 @@ along with this program; if not, see <ht

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-nan.git



More information about the Pkg-octave-commit mailing list