SHA256
1
0
forked from pool/acpica

Accepting request 67681 from home:elvigia:branches:hardware

- Disable both build dates in this package and in
  the files it generates as it both trigger either unneeded
  republish of itself or other bigger packages like virtualbox
- Provides: iasl too.

OBS-URL: https://build.opensuse.org/request/show/67681
OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=26
This commit is contained in:
Adrian Schröter 2011-04-29 15:38:41 +00:00 committed by Git OBS Bridge
parent 304ebdd36b
commit 49c7bfaee3
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,48 @@
--- compiler/aslcompile.c.orig
+++ compiler/aslcompile.c
@@ -274,8 +274,8 @@ AslCompilerFileHeader (
NewTime = localtime (&Aclock);
FlPrintFile (FileId,
- "%sCompilation of \"%s\" - %s%s\n",
- Prefix, Gbl_Files[ASL_FILE_INPUT].Filename, asctime (NewTime),
+ "%sCompilation of \"%s\"\n",
+ Prefix, Gbl_Files[ASL_FILE_INPUT].Filename,
Prefix);
switch (FileId)
--- compiler/aslutils.c.orig
+++ compiler/aslutils.c
@@ -567,8 +567,8 @@ UtDisplaySummary (
{
/* Compiler name and version number */
- FlPrintFile (FileId, "%s version %X%s [%s]\n",
- ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION, ACPI_WIDTH, __DATE__);
+ FlPrintFile (FileId, "%s version %X%s\n",
+ ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION, ACPI_WIDTH);
}
if (Gbl_FileType == ASL_INPUT_TYPE_ASCII_DATA)
--- include/acapps.h.orig
+++ include/acapps.h
@@ -141,15 +141,15 @@
/* Macros for signons and file headers */
#define ACPI_COMMON_SIGNON(UtilityName) \
- "\n%s\n%s version %8.8X%s [%s]\n%s\n\n", \
+ "\n%s\n%s version %8.8X%s\n%s\n\n", \
ACPICA_NAME, \
- UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, __DATE__, \
+ UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
ACPICA_COPYRIGHT
#define ACPI_COMMON_HEADER(UtilityName, Prefix) \
- "%s%s\n%s%s version %8.8X%s [%s]\n%s%s\n%s\n", \
+ "%s%s\n%s%s version %8.8X%s\n%s%s\n%s\n", \
Prefix, ACPICA_NAME, \
- Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, __DATE__, \
+ Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
Prefix, ACPICA_COPYRIGHT, \
Prefix

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Apr 17 03:37:25 UTC 2011 - crrodriguez@opensuse.org
- Disable both build dates in this package and in
the files it generates as it both trigger either unneeded
republish of itself or other bigger packages like virtualbox
- Provides: iasl too.
-------------------------------------------------------------------
Wed Mar 30 16:15:29 UTC 2011 - trenn@suse.de

View File

@ -32,11 +32,13 @@ Patch1: acpica-override-CFLAGS.diff
Patch2: acpidump-override-CFLAGS.patch
Patch3: acpiexec_fix_build_missing_utdecode.patch
Patch4: acpica_fix_acpixtract
Patch5: acpica-no-compiletime.patch
Source1: ec_access.c
Source2: acpidump-%{dmp_ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 x86_64
BuildRequires: bison flex
Provides: iasl
%description
The included tools share the same code as it is used in the ACPI
@ -65,6 +67,7 @@ Authors:
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5
%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"