[Pkg-zsh-commits] [zsh] 01/01: Add patch by Daniel Shahaf to make zsh-dev reproducible (c.f. #849288)

Axel Beckert abe at deuxchevaux.org
Tue Dec 27 17:35:47 UTC 2016


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

abe pushed a commit to branch debian
in repository zsh.

commit 01a5541948706ae1fed36c5f24b10e2ee4068c5e
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 27 18:27:18 2016 +0100

    Add patch by Daniel Shahaf to make zsh-dev reproducible (c.f. #849288)
---
 ...conf-test-to-make-build-more-reproducible.patch | 33 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/remove-SH_USE_BSD_ECHO-autoconf-test-to-make-build-more-reproducible.patch b/debian/patches/remove-SH_USE_BSD_ECHO-autoconf-test-to-make-build-more-reproducible.patch
new file mode 100644
index 0000000..2e955fd
--- /dev/null
+++ b/debian/patches/remove-SH_USE_BSD_ECHO-autoconf-test-to-make-build-more-reproducible.patch
@@ -0,0 +1,33 @@
+Description: Remove SH_USE_BSD_ECHO autoconf test
+ It is unused; doesn't make sense in "build on one box, install on many"
+ context; and its presence causes the downstream packages that install
+ config.h to be non-reproducible.
+ .
+ See https://bugs.debian.org/849288 for a discussion of this issue.
+Author: Daniel Shahaf <danielsh at apache.org>
+Origin: http://www.zsh.org/mla/workers/2016/msg02716.html
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -2309,21 +2309,6 @@
+ if test x$zsh_cv_sys_fifo = xyes; then
+   AC_DEFINE(HAVE_FIFOS)
+ fi
+-dnl ---------------------
+-dnl echo style of /bin/sh
+-dnl ---------------------
+-AC_CACHE_CHECK(if echo in /bin/sh interprets escape sequences,
+-zsh_cv_prog_sh_echo_escape,
+-[if test "`/bin/sh -c \"echo '\\n'\"`" = "\\n"; then
+-  zsh_cv_prog_sh_echo_escape=no
+-else
+-  zsh_cv_prog_sh_echo_escape=yes
+-fi])
+-AH_TEMPLATE([SH_USE_BSD_ECHO],
+-[Define to 1 if /bin/sh does not interpret \ escape sequences.])
+-if test x$zsh_cv_prog_sh_echo_escape = xno; then
+-  AC_DEFINE(SH_USE_BSD_ECHO)
+-fi
+ 
+ dnl -----------
+ dnl test for whether link() works
diff --git a/debian/patches/series b/debian/patches/series
index cb6fdac..6aec33e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 further-mitigate-test-suite-hangs.patch
 update-debian-sections.patch
+remove-SH_USE_BSD_ECHO-autoconf-test-to-make-build-more-reproducible.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list