diff options
Diffstat (limited to 'development/acpica')
-rw-r--r-- | development/acpica/acpica.SlackBuild | 5 | ||||
-rw-r--r-- | development/acpica/acpica.info | 6 | ||||
-rw-r--r-- | development/acpica/pthread_build_warning_fix.patch | 16 |
3 files changed, 23 insertions, 4 deletions
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild index b84ff58bac..4538713a24 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 07f0d86dd3..efadac54b8 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 0000000000..675bc17e39 --- /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)); + } + + |