[gcc-6] 326/401: libgo fixup for program invocation name
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:50:25 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 86b0fec1c1f80dda07d0da822d30b7bc37052b88
Author: sthibault <sthibault at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Sun Dec 18 23:44:39 2016 +0000
libgo fixup for program invocation name
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9197 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/changelog | 4 ++++
debian/patches/src_libgo_runtime_go-caller.c.diff | 14 ++++++++++++++
debian/rules.patch | 1 +
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c9f62a8..677b9a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
gcc-6 (6.2.1-8) UNRELEASED; urgency=medium
+ [ Matthias Klose ]
* Backport proposed patch for PR libstdc++/64735. Closes: #727621.
* Configure --with-cpu-32=ultrasparc on sparc. Closes: #845461.
+ [ Samuel Thibault ]
+ * libgo fixup for program invocation name.
+
-- Matthias Klose <doko at debian.org> Sun, 18 Dec 2016 10:40:36 +0100
gcc-6 (6.2.1-7) unstable; urgency=medium
diff --git a/debian/patches/src_libgo_runtime_go-caller.c.diff b/debian/patches/src_libgo_runtime_go-caller.c.diff
new file mode 100644
index 0000000..6561a53
--- /dev/null
+++ b/debian/patches/src_libgo_runtime_go-caller.c.diff
@@ -0,0 +1,14 @@
+Index: gcc/src/libgo/runtime/go-caller.c
+===================================================================
+--- gcc/src/libgo/runtime/go-caller.c (révision 235086)
++++ gcc/src/libgo/runtime/go-caller.c (copie de travail)
+@@ -93,7 +93,7 @@
+ argv[0] (http://gcc.gnu.org/PR61895). It would be nice to
+ have a better check for whether this file is the real
+ executable. */
+- if (stat (filename, &s) < 0 || s.st_size < 1024)
++ if (filename != NULL && (stat (filename, &s) < 0 || s.st_size < 1024))
+ filename = NULL;
+
+ back_state = backtrace_create_state (filename, 1, error_callback, NULL);
+
diff --git a/debian/rules.patch b/debian/rules.patch
index 2565612..ebe9d8c 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -301,6 +301,7 @@ ifeq ($(DEB_TARGET_ARCH_OS),hurd)
debian_patches += \
src_gcc_config_i386_gnu.h \
src_libgo_configure.ac \
+ src_libgo_runtime_go-caller.c \
src_libgo_go_net_sendfile_gnu.go \
src_libgo_go_net_sock_gnu.go \
src_libgo_go_net_sockopt_gnu.go \
--
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