mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/acpica: Updated for version 20110922.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
309970f042
commit
f285e922d8
3 changed files with 23 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=acpica
|
PRGNAM=acpica
|
||||||
VERSION=20110527
|
VERSION=20110922
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@ cd $PRGNAM-unix2-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
# Fix build warning issued on 32bit systems
|
||||||
|
patch -p2 -i $CWD/pthread_build_warning_fix.patch
|
||||||
|
|
||||||
cd compiler
|
cd compiler
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="acpica"
|
PRGNAM="acpica"
|
||||||
VERSION="20110527"
|
VERSION="20110922"
|
||||||
HOMEPAGE="http://www.acpica.org"
|
HOMEPAGE="http://www.acpica.org"
|
||||||
DOWNLOAD="http://www.acpica.org/download/acpica-unix2-20110527.tar.gz"
|
DOWNLOAD="http://www.acpica.org/download/acpica-unix2-20110922.tar.gz"
|
||||||
MD5SUM="1d2842d2d9f6f3e885de82eeae57cfb5"
|
MD5SUM="4edb0fb51f2020149e0f8d7b09f3e848"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Heinz Wiesinger"
|
MAINTAINER="Heinz Wiesinger"
|
||||||
|
|
16
development/acpica/pthread_build_warning_fix.patch
Normal file
16
development/acpica/pthread_build_warning_fix.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
diff --git a/source/os_specific/service_layers/osunixxf.c b/source/os_specific/service_layers/osunixxf.c
|
||||||
|
index 1698139..fbe02b7 100644
|
||||||
|
--- a/source/os_specific/service_layers/osunixxf.c
|
||||||
|
+++ b/source/os_specific/service_layers/osunixxf.c
|
||||||
|
@@ -1243,8 +1243,10 @@ ACPI_THREAD_ID
|
||||||
|
AcpiOsGetThreadId (
|
||||||
|
void)
|
||||||
|
{
|
||||||
|
+ pthread_t thread;
|
||||||
|
|
||||||
|
- return (ACPI_CAST_PTHREAD_T (pthread_self()));
|
||||||
|
+ thread = pthread_self();
|
||||||
|
+ return (ACPI_CAST_PTHREAD_T (thread));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue