Date: Thursday, July 12, 2018 @ 08:24:10 Author: archange Revision: 357605
archrelease: copy trunk to community-x86_64 Added: acpica/repos/community-x86_64/PKGBUILD (from rev 357604, acpica/trunk/PKGBUILD) Deleted: acpica/repos/community-x86_64/PKGBUILD acpica/repos/community-x86_64/fix-gcc8-compilation.patch ----------------------------+ PKGBUILD | 67 ++++++++++++++++++---------------------- fix-gcc8-compilation.patch | 71 ------------------------------------------- 2 files changed, 30 insertions(+), 108 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-12 08:23:49 UTC (rev 357604) +++ PKGBUILD 2018-07-12 08:24:10 UTC (rev 357605) @@ -1,37 +0,0 @@ -# Maintainer : Bruno Pagani <archa...@archlinux.org> -# Maintainer : Laurent Carlier <lordhea...@gmail.com> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Alessio 'mOlOk' Bolognino <themo...@gmail.com> - -pkgname=acpica -pkgver=20180531 -pkgrel=2 -pkgdesc="ACPI tools, including Intel ACPI Source Language compiler" -arch=('x86_64') -url="https://acpica.org" -license=('GPL2') -depends=('glibc') -makedepends=('flex' 'bison') -provides=('iasl') -conflicts=('iasl') -replaces=('iasl') -options=('!makeflags') -source=("https://acpica.org/sites/acpica/files/acpica-unix-${pkgver}.tar.gz" - 'fix-gcc8-compilation.patch') -sha256sums=('8f6cdcaa4039c2b3db141117ec8223f0e1297684b8ab47839e211bddad027665' - '8f1dac990ca7a05855ac34d90ac76e77434481f7c6e4679de1337e3621a88a53') - -prepare() { - cd acpica-unix-${pkgver} - patch -p1 -i ../fix-gcc8-compilation.patch -} - -build() { - cd acpica-unix-${pkgver} - make -} - -package() { - cd acpica-unix-${pkgver} - make DESTDIR=${pkgdir} install -} Copied: acpica/repos/community-x86_64/PKGBUILD (from rev 357604, acpica/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-12 08:24:10 UTC (rev 357605) @@ -0,0 +1,30 @@ +# Maintainer : Bruno Pagani <archa...@archlinux.org> +# Maintainer : Laurent Carlier <lordhea...@gmail.com> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Alessio 'mOlOk' Bolognino <themo...@gmail.com> + +pkgname=acpica +pkgver=20180629 +pkgrel=1 +pkgdesc="ACPI tools, including Intel ACPI Source Language compiler" +arch=('x86_64') +url="https://acpica.org" +license=('GPL2') +depends=('glibc') +makedepends=('flex' 'bison') +provides=('iasl') +conflicts=('iasl') +replaces=('iasl') +options=('!makeflags') +source=("https://acpica.org/sites/acpica/files/acpica-unix-${pkgver}.tar.gz") +sha256sums=('70d11f3f2adbdc64a5b33753e1889918af811ec8050722fbee0fdfc3bfd29a4f') + +build() { + cd acpica-unix-${pkgver} + make +} + +package() { + cd acpica-unix-${pkgver} + make DESTDIR=${pkgdir} install +} Deleted: fix-gcc8-compilation.patch =================================================================== --- fix-gcc8-compilation.patch 2018-07-12 08:23:49 UTC (rev 357604) +++ fix-gcc8-compilation.patch 2018-07-12 08:24:10 UTC (rev 357605) @@ -1,71 +0,0 @@ -From 935ca65f7806a3ef9bd02a947e50f3a1f586ac67 Mon Sep 17 00:00:00 2001 -From: Erik Schmauss <erik.schma...@intel.com> -Date: Fri, 1 Jun 2018 16:05:52 -0700 -Subject: [PATCH] iASL: increase the length of MsgBuffer to avoid overflow - -There are some functions that attempt to store 2 String buffers in -MsgBuffer. This causes compiler warnings due to potential overflow -of MsgBuffer. - -By increasing the MsgBuffer, we retain current behavior for functions -using StringBuffer. This also results in separating the size between -MsgBuffer and StringBuffer. - -Signed-off-by: Erik Schmauss <erik.schma...@intel.com> ---- - source/common/dmextern.c | 2 +- - source/compiler/aslglobal.h | 7 ++++--- - source/compiler/asloptions.c | 2 +- - 3 files changed, 6 insertions(+), 5 deletions(-) - -diff --git a/source/common/dmextern.c b/source/common/dmextern.c -index 8aab4807e2..df0e1b97e0 100644 ---- a/source/common/dmextern.c -+++ b/source/common/dmextern.c -@@ -538,7 +538,7 @@ AcpiDmGetExternalsFromFile ( - - /* Each line defines a method */ - -- while (fgets (StringBuffer, ASL_MSG_BUFFER_SIZE, ExternalRefFile)) -+ while (fgets (StringBuffer, ASL_STRING_BUFFER_SIZE, ExternalRefFile)) - { - Token = strtok (StringBuffer, METHOD_SEPARATORS); /* "External" */ - if (!Token) -diff --git a/source/compiler/aslglobal.h b/source/compiler/aslglobal.h -index 93c51fae56..e22f476fc0 100644 ---- a/source/compiler/aslglobal.h -+++ b/source/compiler/aslglobal.h -@@ -251,7 +251,8 @@ extern int AslCompilerdebug; - - - #define ASL_DEFAULT_LINE_BUFFER_SIZE (1024 * 32) /* 32K */ --#define ASL_MSG_BUFFER_SIZE (1024 * 32) /* 32k */ -+#define ASL_MSG_BUFFER_SIZE (1024 * 128) /* 128k */ -+#define ASL_STRING_BUFFER_SIZE (1024 * 32) /* 32k */ - #define ASL_MAX_DISABLED_MESSAGES 32 - #define ASL_MAX_EXPECTED_MESSAGES 32 - #define HEX_TABLE_LINE_SIZE 8 -@@ -438,8 +439,8 @@ ASL_EXTERN UINT8 AslGbl_NamespaceEvent; - - ASL_EXTERN UINT8 Gbl_AmlBuffer[HEX_LISTING_LINE_SIZE]; - ASL_EXTERN char MsgBuffer[ASL_MSG_BUFFER_SIZE]; --ASL_EXTERN char StringBuffer[ASL_MSG_BUFFER_SIZE]; --ASL_EXTERN char StringBuffer2[ASL_MSG_BUFFER_SIZE]; -+ASL_EXTERN char StringBuffer[ASL_STRING_BUFFER_SIZE]; -+ASL_EXTERN char StringBuffer2[ASL_STRING_BUFFER_SIZE]; - ASL_EXTERN UINT32 Gbl_DisabledMessages[ASL_MAX_DISABLED_MESSAGES]; - ASL_EXTERN ASL_EXPECTED_MESSAGE Gbl_ExpectedMessages[ASL_MAX_EXPECTED_MESSAGES]; - -diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c -index 2b1e6027fd..0f575c8ab6 100644 ---- a/source/compiler/asloptions.c -+++ b/source/compiler/asloptions.c -@@ -1080,7 +1080,7 @@ AslDoResponseFile ( - * Process all lines in the response file. There must be one complete - * option per line - */ -- while (fgets (StringBuffer, ASL_MSG_BUFFER_SIZE, ResponseFile)) -+ while (fgets (StringBuffer, ASL_STRING_BUFFER_SIZE, ResponseFile)) - { - /* Compress all tokens, allowing us to use a single argv entry */ -