Author: tille Date: 2016-08-24 10:29:32 +0000 (Wed, 24 Aug 2016) New Revision: 22707
Added: trunk/packages/snap/trunk/debian/patches/fix_missing_braces_in_if_statements.patch Modified: trunk/packages/snap/trunk/debian/changelog trunk/packages/snap/trunk/debian/patches/series Log: add missing braces Modified: trunk/packages/snap/trunk/debian/changelog =================================================================== --- trunk/packages/snap/trunk/debian/changelog 2016-08-24 10:23:03 UTC (rev 22706) +++ trunk/packages/snap/trunk/debian/changelog 2016-08-24 10:29:32 UTC (rev 22707) @@ -1,6 +1,8 @@ snap (2013-11-29-4) UNRELEASED; urgency=medium * itoa implementation had broken identation - use sprintf instead + * add missing braces + Closes: #835283 -- Andreas Tille <[email protected]> Wed, 24 Aug 2016 10:43:36 +0200 Added: trunk/packages/snap/trunk/debian/patches/fix_missing_braces_in_if_statements.patch =================================================================== --- trunk/packages/snap/trunk/debian/patches/fix_missing_braces_in_if_statements.patch (rev 0) +++ trunk/packages/snap/trunk/debian/patches/fix_missing_braces_in_if_statements.patch 2016-08-24 10:29:32 UTC (rev 22707) @@ -0,0 +1,28 @@ +Author: Andreas Tille <[email protected]> +Last-Update: Wed, 24 Aug 2016 10:43:36 +0200 +Bug-Debian: https://bugs.debian.org/835283 +Description: add missing braces + +--- a/exonpairs.c ++++ b/exonpairs.c +@@ -83,14 +83,14 @@ static zoeFeatureVec get_exons (const zo + switch (exon->label) { + case Esngl: skip = 1; break; + case Einit: +- if (exon->score < MIN_EINIT_SCORE) skip = 1; break; +- if (length < MIN_EINIT_LENGTH) skip = 1; break; ++ if (exon->score < MIN_EINIT_SCORE) { skip = 1; break; } ++ if (length < MIN_EINIT_LENGTH) { skip = 1; break; } + case Eterm: +- if (exon->score < MIN_ETERM_SCORE) skip = 1; break; +- if (length < MIN_ETERM_LENGTH) skip = 1; break; ++ if (exon->score < MIN_ETERM_SCORE) { skip = 1; break; } ++ if (length < MIN_ETERM_LENGTH) { skip = 1; break; } + case Exon: +- if (exon->score < MIN_EXON_SCORE) skip = 1; break; +- if (length < MIN_EXON_LENGTH) skip = 1; break; ++ if (exon->score < MIN_EXON_SCORE) { skip = 1; break; } ++ if (length < MIN_EXON_LENGTH) { skip = 1; break; } + default: zoeExit("no, not possible"); + } + if (skip) continue; Modified: trunk/packages/snap/trunk/debian/patches/series =================================================================== --- trunk/packages/snap/trunk/debian/patches/series 2016-08-24 10:23:03 UTC (rev 22706) +++ trunk/packages/snap/trunk/debian/patches/series 2016-08-24 10:29:32 UTC (rev 22707) @@ -3,3 +3,4 @@ build-with-gcc-6.patch use-CC.patch replace_itoa_with_broken_indentation.patch +fix_missing_braces_in_if_statements.patch _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
