029d4d490e
Revised packaging suggestion for rust: Package as rust from now on. Add Recommends: for cargo. Will remove rustc-stable. This makes it easier to submit new versions to openSUSE:Factory, and easier for users to find rust. OBS-URL: https://build.opensuse.org/request/show/424927 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=1
27 lines
846 B
Diff
27 lines
846 B
Diff
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
|
|
|