summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-04-02 09:52:15 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-04-02 09:52:15 +0200
commit81aa8dc450bf9eac92489d8732d5a6ebcebc2142 (patch)
tree8ffd2293b3cbbbf57900e463e800a3aa67bcfacc /debian/patches
parent32258013b7a55f3803ddf3ead117040457a0ad1e (diff)
d/p/0715-20-sane.hwdb_multi-arch.patch: Add changes into all functions
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0715-20-sane.hwdb_multi-arch.patch33
1 files changed, 33 insertions, 0 deletions
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 (&current_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 (&current_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 (&current_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