[med-svn] [bowtie2] 01/01: Add patch suppressing -Wmisleading-indentation warnings

Alex Mestiashvili malex-guest at moszumanska.debian.org
Wed Jan 25 13:11:58 UTC 2017


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

malex-guest pushed a commit to branch master
in repository bowtie2.

commit bd57a6632225ec3470014397c5942c30a081e6a1
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Wed Jan 25 14:10:51 2017 +0100

    Add patch suppressing -Wmisleading-indentation warnings
---
 debian/patches/indentation.patch | 17 +++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/indentation.patch b/debian/patches/indentation.patch
new file mode 100644
index 0000000..6c58cac
--- /dev/null
+++ b/debian/patches/indentation.patch
@@ -0,0 +1,17 @@
+Description: Suppress "warning: this ‘if’ clause does not guard...
+  [-Wmisleading-indentation]" messages
+Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
+--- bowtie2.orig/diff_sample.h
++++ bowtie2/diff_sample.h
+@@ -177,8 +177,11 @@
+ 					assert_lt(d2, v);
+ 					assert_gt(d1, 0);
+ 					assert_gt(d2, 0);
++					#pragma GCC diagnostic push
++					#pragma GCC diagnostic ignored "-Wmisleading-indentation"
+ 					if(!diffs[d1]) diffCnt++; diffs[d1] = true;
+ 					if(!diffs[d2]) diffCnt++; diffs[d2] = true;
++					#pragma GCC diagnostic pop
+ 				}
+ 			}
+ 			// Do we observe all possible differences (except 0)
diff --git a/debian/patches/series b/debian/patches/series
index 1b68131..9eeec10 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+indentation.patch
 hardening.patch
 reproducible.patch
 skip_test_requiring_non-free_libmath-random-perl.patch

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



More information about the debian-med-commit mailing list