diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2011-10-30 20:46:16 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 21:59:28 -0200 |
commit | f285e922d881e386d894e4945b5987e8738f0930 (patch) | |
tree | 89d6908f9d9932607a9a3007c8e44047111ea30a /development/acpica/pthread_build_warning_fix.patch | |
parent | 309970f0425b8d97bf5fb74c9a49fc83ac8ee007 (diff) | |
download | slackbuilds-f285e922d881e386d894e4945b5987e8738f0930.tar.gz |
development/acpica: Updated for version 20110922.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/acpica/pthread_build_warning_fix.patch')
-rw-r--r-- | development/acpica/pthread_build_warning_fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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)); + } + + |