From 81aa8dc450bf9eac92489d8732d5a6ebcebc2142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 09:52:15 +0200 Subject: d/p/0715-20-sane.hwdb_multi-arch.patch: Add changes into all functions --- debian/patches/0715-20-sane.hwdb_multi-arch.patch | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/debian/patches/0715-20-sane.hwdb_multi-arch.patch b/debian/patches/0715-20-sane.hwdb_multi-arch.patch index b6523af..350c911 100644 --- a/debian/patches/0715-20-sane.hwdb_multi-arch.patch +++ b/debian/patches/0715-20-sane.hwdb_multi-arch.patch @@ -22,6 +22,39 @@ Index: trunk/tools/sane-desc.c printf ("# The entries below are used to detect a USB device and change owner\n" +@@ -3398,8 +3398,8 @@ print_db_header (void) + { + time_t current_time = time (0); + printf ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s", +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ "# by sane-desc %s from %s\n", ++ SANE_DESC_VERSION, PACKAGE_STRING); + printf + ("#\n" + "# The entries below are used to detect a USB device when it's plugged in\n" +@@ -3656,8 +3656,8 @@ print_udevhwdb_header (void) + { + time_t current_time = time (0); + printf ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s", +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ "# by sane-desc %s from %s\n", ++ SANE_DESC_VERSION, PACKAGE_STRING); + + printf + ("#\n" +@@ -3766,8 +3766,8 @@ print_hwdb_header (void) + { + time_t current_time = time (0); + printf ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s", +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ "# by sane-desc %s from %s\n", ++ SANE_DESC_VERSION, PACKAGE_STRING); + + printf + ("#\n" Index: trunk/testsuite/tools/data/db.ref =================================================================== --- trunk.orig/testsuite/tools/data/db.ref -- cgit v1.2.3