File 0002-Fix-GCC-6-misleading-indentation-error-in-hoedown.patch of Package rustc-1_9
From 89ea75c4545bbc870712571a1c00b2f5b436939a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Mon, 27 Jun 2016 18:44:17 +0200
Subject: [PATCH] Fix GCC 6 misleading indentation error in hoedown
---
src/rt/hoedown/src/document.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/rt/hoedown/src/document.c b/src/rt/hoedown/src/document.c
index e2731da..53652e7 100644
--- a/src/rt/hoedown/src/document.c
+++ b/src/rt/hoedown/src/document.c
@@ -1158,7 +1158,8 @@ char_link(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offse
}
else if (data[i] == ')') {
if (nb_p == 0) break;
- else nb_p--; i++;
+ else nb_p--;
+ i++;
} else if (i >= 1 && _isspace(data[i-1]) && (data[i] == '\'' || data[i] == '"')) break;
else i++;
}
--
2.8.4