[med-svn] [staden] 01/08: Fix issue with min undefined

Andreas Tille tille at debian.org
Thu Jul 14 18:29:34 UTC 2016


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

tille pushed a commit to branch master
in repository staden.

commit 3ca341f219651d37d9a135a2735ec337151a7ae2
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 14 19:59:52 2016 +0200

    Fix issue with min undefined
---
 debian/patches/fix_undefined_min.patch | 11 +++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/fix_undefined_min.patch b/debian/patches/fix_undefined_min.patch
new file mode 100644
index 0000000..8145bb9
--- /dev/null
+++ b/debian/patches/fix_undefined_min.patch
@@ -0,0 +1,11 @@
+--- a/eba/conf.c
++++ b/eba/conf.c
+@@ -385,7 +385,7 @@ float max_cosa(TRACE *tx, TRACE *ty, TRA
+ 
+ char probFromQual(float qual)
+ {
+-    return (char)(100.0*(1.0 - min(qual,1.0)));
++    return (char)(100.0*(1.0 - MIN(qual,1.0)));
+ }
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 94111c3..d8f28db 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ cope_with_modern_windowmanager.patch
 include_xalloc.patch
 use_mkstemp_instead_of_tmpnam.patch
 fix_implicit_declaration.patch
+fix_undefined_min.patch

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



More information about the debian-med-commit mailing list