Source: hspell Version: 1.2-2.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that hspell could not be built reproducibly. The current date is embedded into aff files generated by mk_he_affix. The attached patch removes those timestamps as they provides no useful information. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch new file mode 100644 index 0000000..238a36d --- /dev/null +++ b/debian/patches/reproducible_build.patch @@ -0,0 +1,15 @@ +Index: hspell-1.2/mk_he_affix.c +=================================================================== +--- hspell-1.2.orig/mk_he_affix.c ++++ hspell-1.2/mk_he_affix.c +@@ -90,9 +90,7 @@ int main(int argc, char *argv[]) + fprintf(afffp, "# This file was generated automatically from data prepared\n" + "# by the Hspell project (http://hspell.ivrix.org.il/).\n" + "# Hspell version %d.%d%s was used.\n" +- "# The conversion was carried out in %s\n", +- HSPELL_VERSION_MAJOR,HSPELL_VERSION_MINOR,HSPELL_VERSION_EXTRA, +- __DATE__); ++ HSPELL_VERSION_MAJOR,HSPELL_VERSION_MINOR,HSPELL_VERSION_EXTRA); + fprintf(afffp, "# Copyright 2004-2012, Nadav Har'El and Dan Kenigsberg\n"); + fprintf(afffp, "# The dictionary (this file and the corresponding word list)\n" + "# is licensed under the GNU Affero General Public License\n" diff --git a/debian/patches/series b/debian/patches/series index 8c3ffbe..c454eeb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ manpages_minus.patch make-install.patch whatsnew-utf8.patch +reproducible_build.patch
signature.asc
Description: OpenPGP digital signature