aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-10-30 20:46:16 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-11-04 21:59:28 -0200
commitf285e922d881e386d894e4945b5987e8738f0930 (patch)
tree89d6908f9d9932607a9a3007c8e44047111ea30a /development
parent309970f0425b8d97bf5fb74c9a49fc83ac8ee007 (diff)
development/acpica: Updated for version 20110922.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/acpica/acpica.SlackBuild5
-rw-r--r--development/acpica/acpica.info6
-rw-r--r--development/acpica/pthread_build_warning_fix.patch16
3 files changed, 23 insertions, 4 deletions
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild
index b84ff58bac74b..4538713a24380 100644
--- a/development/acpica/acpica.SlackBuild
+++ b/development/acpica/acpica.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=acpica
-VERSION=20110527
+VERSION=20110922
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,6 +65,9 @@ cd $PRGNAM-unix2-$VERSION
chown -R root:root .
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
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/development/acpica/acpica.info b/development/acpica/acpica.info
index 07f0d86dd33e6..efadac54b8e68 100644
--- a/development/acpica/acpica.info
+++ b/development/acpica/acpica.info
@@ -1,8 +1,8 @@
PRGNAM="acpica"
-VERSION="20110527"
+VERSION="20110922"
HOMEPAGE="http://www.acpica.org"
-DOWNLOAD="http://www.acpica.org/download/acpica-unix2-20110527.tar.gz"
-MD5SUM="1d2842d2d9f6f3e885de82eeae57cfb5"
+DOWNLOAD="http://www.acpica.org/download/acpica-unix2-20110922.tar.gz"
+MD5SUM="4edb0fb51f2020149e0f8d7b09f3e848"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
diff --git a/development/acpica/pthread_build_warning_fix.patch b/development/acpica/pthread_build_warning_fix.patch
new file mode 100644
index 0000000000000..675bc17e390a4
--- /dev/null
+++ b/development/acpica/pthread_build_warning_fix.patch
@@ -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));
+ }
+
+