forked from pool/sane-backends
Accepting request 353065 from home:olh:branches:graphics
- sane-backends.builttime.patch: reduce build-compare noise OBS-URL: https://build.opensuse.org/request/show/353065 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=81
This commit is contained in:
parent
09f4a989f8
commit
ce6cd2ce4a
76
sane-backends.builttime.patch
Normal file
76
sane-backends.builttime.patch
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
---
|
||||||
|
tools/sane-desc.c | 24 ++++++++++++------------
|
||||||
|
1 file changed, 12 insertions(+), 12 deletions(-)
|
||||||
|
|
||||||
|
Index: sane-backends-1.0.25/tools/sane-desc.c
|
||||||
|
===================================================================
|
||||||
|
--- sane-backends-1.0.25.orig/tools/sane-desc.c
|
||||||
|
+++ sane-backends-1.0.25/tools/sane-desc.c
|
||||||
|
@@ -2816,8 +2816,8 @@ 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 (¤t_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");
|
||||||
|
}
|
||||||
|
@@ -3326,10 +3326,10 @@ print_usermap_header (void)
|
||||||
|
|
||||||
|
printf
|
||||||
|
("# This file was automatically created based on description files (*.desc)\n"
|
||||||
|
- "# by sane-desc %s from %s on %s"
|
||||||
|
+ "# by sane-desc %s from %s"
|
||||||
|
"#\n"
|
||||||
|
,
|
||||||
|
- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time)));
|
||||||
|
+ SANE_DESC_VERSION, PACKAGE_STRING);
|
||||||
|
|
||||||
|
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",
|
||||||
|
+ SANE_DESC_VERSION, PACKAGE_STRING);
|
||||||
|
printf
|
||||||
|
("#\n"
|
||||||
|
"# The entries below are used to detect a USB device when it's plugged in\n"
|
||||||
|
@@ -3463,8 +3463,8 @@ print_udev_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",
|
||||||
|
+ SANE_DESC_VERSION, PACKAGE_STRING);
|
||||||
|
|
||||||
|
printf
|
||||||
|
("#\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",
|
||||||
|
+ 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",
|
||||||
|
+ SANE_DESC_VERSION, PACKAGE_STRING);
|
||||||
|
|
||||||
|
printf
|
||||||
|
("#\n"
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 11 11:44:28 UTC 2016 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- sane-backends.builttime.patch: reduce build-compare noise
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 29 22:32:37 UTC 2015 - stefan.bruens@rwth-aachen.de
|
Tue Dec 29 22:32:37 UTC 2015 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sane-backends
|
# spec file for package sane-backends
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -72,6 +72,8 @@ Source201: create_sane-backends-autoconfig.rules
|
|||||||
# GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1):
|
# GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1):
|
||||||
# see https://alioth.debian.org/tracker/index.php?func=detail&aid=315198&group_id=30186&atid=410366
|
# see https://alioth.debian.org/tracker/index.php?func=detail&aid=315198&group_id=30186&atid=410366
|
||||||
Patch1: dell1600n_net-fix-strncat.patch
|
Patch1: dell1600n_net-fix-strncat.patch
|
||||||
|
# Patch2 sane-backends.builttime.patch avoids build-compare noise
|
||||||
|
Patch2: sane-backends.builttime.patch
|
||||||
# Patch100... is SUSE specific stuff:
|
# Patch100... is SUSE specific stuff:
|
||||||
# Patch101 no-descriptions-external-hpoj.patch removes descriptions-external/hpoj.desc from doc/Makefile.am
|
# Patch101 no-descriptions-external-hpoj.patch removes descriptions-external/hpoj.desc from doc/Makefile.am
|
||||||
# because it is intentionally removed from the sources in the prep section:
|
# because it is intentionally removed from the sources in the prep section:
|
||||||
@ -167,6 +169,7 @@ package or remove it when it is already installed.
|
|||||||
# GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1)
|
# GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1)
|
||||||
# see https://alioth.debian.org/tracker/index.php?func=detail&aid=315198&group_id=30186&atid=410366
|
# see https://alioth.debian.org/tracker/index.php?func=detail&aid=315198&group_id=30186&atid=410366
|
||||||
%patch1
|
%patch1
|
||||||
|
%patch2 -p1
|
||||||
# Patch100... is SUSE specific stuff:
|
# Patch100... is SUSE specific stuff:
|
||||||
# Patch101 no-descriptions-external-hpoj.patch removes descriptions-external/hpoj.desc from doc/Makefile.am
|
# Patch101 no-descriptions-external-hpoj.patch removes descriptions-external/hpoj.desc from doc/Makefile.am
|
||||||
# because it is intentionally removed from the sources in the prep section:
|
# because it is intentionally removed from the sources in the prep section:
|
||||||
|
Loading…
Reference in New Issue
Block a user