[vlfeat] 37/44: [bugfix] make/matlab.mak: fixes a bug causing the compilation to fail under Linux and MATLAB R2010

Dima Kogan dima at secretsauce.net
Wed Sep 16 21:05:32 UTC 2015


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

dkogan-guest pushed a commit to branch master
in repository vlfeat.

commit 844abb0207d0ccd3e8f787084bf08ea98ef552a5
Author: Andrea Vedaldi <vedaldi at gmail.com>
Date:   Thu Jan 15 06:45:21 2015 -0800

    [bugfix] make/matlab.mak: fixes a bug causing the compilation to fail under Linux and MATLAB R2010
---
 make/matlab.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make/matlab.mak b/make/matlab.mak
index 4c211b9..4dde699 100644
--- a/make/matlab.mak
+++ b/make/matlab.mak
@@ -70,7 +70,7 @@ $(MEX_BINDIR)/matlabver.mak: $(mex-dir)
 	$(MATLAB_EXE) -nodesktop -nosplash -nojvm \
 	-r \
 "f=fopen('$(MEX_BINDIR)/matlabver.mak','w');"\
-"fprintf(f,'MATLAB_VER=%d\n',[1e4 1e2 1]*sscanf(version,'%d.%d.%d'));fclose(f);exit();"
+"fprintf(f,'MATLAB_VER=%d',[1e4 1e2 1]*sscanf(version,'%d.%d.%d'));fclose(f);exit();"
 
 ifdef MATLAB_PATH
 ifeq ($(filter $(no_dep_targets), $(MAKECMDGOALS)),)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vlfeat.git



More information about the debian-science-commits mailing list