[pkg-d-commits] [dustmite] 01/02: Add workaround for GDC bug, resolves FTBFS on i386

Matthias Klumpp mak at moszumanska.debian.org
Sun Feb 5 15:54:06 UTC 2017


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

mak pushed a commit to branch master
in repository dustmite.

commit 912c8bcfce23fac733e1abf0921a0edccb1672e6
Author: Matthias Klumpp <mak at debian.org>
Date:   Sun Feb 5 16:47:11 2017 +0100

    Add workaround for GDC bug, resolves FTBFS on i386
---
 debian/patches/01_gdc-bug-workaround.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/01_gdc-bug-workaround.patch b/debian/patches/01_gdc-bug-workaround.patch
new file mode 100644
index 0000000..88bd7d3
--- /dev/null
+++ b/debian/patches/01_gdc-bug-workaround.patch
@@ -0,0 +1,17 @@
+This is a workaround for the GDC issue described in http://forum.dlang.org/post/oybcjnpibaqdqmwzrtbh@forum.dlang.org
+It can be removed when GDC or the DMDFE (wherever the bug is) has been fixed.
+
+--- a/splitter.d
++++ b/splitter.d
+@@ -872,7 +872,10 @@
+ 				return false;
+ 			}
+ 			
+-			if (consume(tokenLookup["if"]) || consume(tokenLookup["static if"]))
++			if (consume(tokenLookup["if"]))
++				consume(tokenLookup["else"]);
++			else
++			if (consume(tokenLookup["static if"]))
+ 				consume(tokenLookup["else"]);
+ 			else
+ 			if (consume(tokenLookup["do"]))
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9fe95f4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_gdc-bug-workaround.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/dustmite.git



More information about the pkg-d-commits mailing list