[gcc-6] 80/401: - fix gdc build with current trunk

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:05 UTC 2017


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

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit bbbf3326360b97d0154ec119db7f0c7e8bbcda2e
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Fri Feb 12 10:54:40 2016 +0000

     - fix gdc build with current trunk
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8663 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/patches/gdc-fix.diff | 15 +++++++++++++++
 debian/rules.patch          |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/gdc-fix.diff b/debian/patches/gdc-fix.diff
new file mode 100644
index 0000000..4f2111f
--- /dev/null
+++ b/debian/patches/gdc-fix.diff
@@ -0,0 +1,15 @@
+# DP: Fix gdc to build with current trunk
+
+--- a/src/gcc/d/d-lang.cc
++++ b/src/gcc/d/d-lang.cc
+@@ -252,8 +252,8 @@
+   // This allows the code in d-builtins.c to not have to worry about
+   // converting (C signed char *) to (D char *) for string arguments of
+   // built-in functions.
+-  // Parameters are (signed_char = false, short_double = false).
+-  build_common_tree_nodes (false, false);
++  // Parameters are (signed_char = false).
++  build_common_tree_nodes (false);
+ 
+   d_init_builtins();
+ 
diff --git a/debian/rules.patch b/debian/rules.patch
index bacc322..2816a67 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -81,6 +81,7 @@ debian_patches += \
 	pr67590 \
 	ada-gnattools-ldflags \
 	libjit-ldflags \
+	gdc-fix \
 
 # this is still needed on powerpc, e.g. firefox and insighttoolkit4 will ftbfs.
 ifneq (,$(filter $(DEB_TARGET_ARCH),powerpc))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list