Package: libalgorithm-svm-perl / 0.13-2

Metadata

Package Version Patches format
libalgorithm-svm-perl 0.13-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
remove 3rd party libsvm.patch | (download)

Makefile.PL | 4 2 + 2 - 0 !
SVM.xs | 2 1 + 1 - 0 !
bindings.h | 4 3 + 1 - 0 !
3 files changed, 6 insertions(+), 4 deletions(-)

 adjust build system to ignore bundled libsvm.
 The original patch sent upstream completely removes the bundled
 libsvm.  This modified patch keeps the bundled files in the source
 tree which will be ignored by the build.  This makes for a simpler
 and smaller patch, that is also less likely to break in the future
 due to upstream changes such as them updating the bundled version of
 libsvm.
update libsvm3.patch | (download)

bindings.cpp | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 update bindings for libsvm3.
 Upstream makes use of bundled libsvm2 which has been removed on a
 separate patch.  This patch updates the bindings for libsvm3 which
 is packaged in Debian.
 .
 The libsvm README file states the following:
 - Function: void svm_free_and_destroy_model(struct svm_model **model_ptr_ptr);
 .
    This function frees the memory used by a model and destroys the model
    structure. It is equivalent to svm_destroy_model, which
    is deprecated after version 3.0.
do not link to libm.patch | (download)

Makefile.PL | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 do not link against libm.
 This was required by upstream because they are also building libsvm
 which would require libm.  It is redundant for Debian because we
 patch out the vendorised libsvm and use Debian's system-wide libsvm.
spelling.patch | (download)

lib/Algorithm/SVM.pm | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix spelling in man page


ccflags.patch | (download)

Makefile.PL | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 add $config{ccflags} to ccflags
 Since 5.14 we need the same CCFLAGS Perl itself was compiled with.
 So don't override but add to CCFLAGS.