[med-svn] [libpsortb] 01/02: More transparent patch

Andreas Tille tille at debian.org
Tue Apr 25 06:35:53 UTC 2017


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

tille pushed a commit to branch master
in repository libpsortb.

commit 891e96a76dd89ff80dfdee42cb01965630d8437e
Author: Andreas Tille <tille at debian.org>
Date:   Mon Apr 24 16:11:35 2017 +0200

    More transparent patch
---
 debian/patches/use_debian_packaged_libsvm.patch | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/patches/use_debian_packaged_libsvm.patch b/debian/patches/use_debian_packaged_libsvm.patch
index 6d1e641..b43715c 100644
--- a/debian/patches/use_debian_packaged_libsvm.patch
+++ b/debian/patches/use_debian_packaged_libsvm.patch
@@ -4,19 +4,18 @@ Description: Use Debian packaged libsvm
 
 --- a/svmloc/Makefile.am
 +++ b/svmloc/Makefile.am
-@@ -3,8 +3,9 @@
+@@ -3,8 +3,8 @@
  # svmloc dir
  
  lib_LTLIBRARIES		= libsvmloc.la
 -libsvmloc_la_SOURCES	= binding.cpp libsvm.cpp svmloc.cpp binding.h libsvm.h svmloc.h
 +libsvmloc_la_SOURCES	= binding.cpp svmloc.cpp binding.h svmloc.h
  libsvmloc_la_LDFLAGS	= -version-info 0:0:0
-+libsvmloc_la_CPPFLAGS	= -I/usr/include/libsvm
-+
-+LDADD = -lsvm
  
 -noinst_HEADERS = \
 -COPYRIGHT
++LDADD = -lsvm
++
 --- a/svmloc/svmloc.h
 +++ b/svmloc/svmloc.h
 @@ -12,7 +12,7 @@
@@ -24,7 +23,7 @@ Description: Use Debian packaged libsvm
  #include <string.h>
  
 -#include "libsvm.h"
-+#include <svm.h>
++#include <libsvm/svm.h>
  
  using namespace std;
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libpsortb.git



More information about the debian-med-commit mailing list