summaryrefslogtreecommitdiff
path: root/debian/patches/0005-mk_reproducible_results.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-03-03 19:19:03 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-03-03 19:19:03 +0100
commitf9f3f3426126f059165a1f37da0ad3ea205fbdd0 (patch)
tree3b1a690c7cb57888105b066025f4f3f0a392674b /debian/patches/0005-mk_reproducible_results.patch
parent6a1bffbbcf836fbee19693cee54598e737ab709c (diff)
Replace fixed path with a POSIX-compliant shell function to check the existence of a command
Diffstat (limited to 'debian/patches/0005-mk_reproducible_results.patch')
-rw-r--r--debian/patches/0005-mk_reproducible_results.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0005-mk_reproducible_results.patch b/debian/patches/0005-mk_reproducible_results.patch
new file mode 100644
index 0000000..0906d6d
--- /dev/null
+++ b/debian/patches/0005-mk_reproducible_results.patch
@@ -0,0 +1,17 @@
+Index: trunk/tools/sane-desc.c
+===================================================================
+--- trunk.orig/tools/sane-desc.c
++++ trunk/tools/sane-desc.c
+@@ -2816,8 +2816,10 @@ html_print_footer (void)
+ "<address>\n"
+ "<a href=\"http://www.sane-project.org/imprint.html\"\n"
+ ">Contact</a>\n" "</address>\n" "<font size=-1>\n");
+- printf ("This page was last updated on %s by sane-desc %s from %s\n",
+- asctime (localtime (&current_time)), SANE_DESC_VERSION, PACKAGE_STRING);
++/* printf ("This page was last updated on %s by sane-desc %s from %s\n",
++ asctime (localtime (&current_time)), SANE_DESC_VERSION, PACKAGE_STRING); */
++ printf ("This page was last updated by sane-desc %s from %s\n",
++ SANE_DESC_VERSION, PACKAGE_STRING);
+ printf ("</font>\n");
+ printf ("</body> </html>\n");
+ }