[Pkg-acpi-devel] Bug#635537: acpitool does not handle the latest kernel release 3.0.0.
hugo vanwoerkom
huugske at gmail.com
Tue Jul 26 17:37:58 UTC 2011
Package: acpitool
Version: 0.5.1-2
Severity: normal
This patch will fix the problem:
============================================================================
--- acpitool-orig-build//acpitool-0.5.1/src/acpitool.cpp
2009-08-13 14:37:48.000000000 -0500
+++ acpitool-chg-build//acpitool-0.5.1/src/acpitool.cpp 2011-07-26
10:04:58.000000000 -0500
@@ -211,6 +211,12 @@
Kernel_24 = 0;
Kernel_26 = 1;
}
+
+ if(strncmp(str,"3.0",3)==0)
+ {
+ Kernel_24 = 0;
+ Kernel_26 = 1;
+ }
return 0;
}
====================================================================
Thanks to Sven Joachim for pointing this out.
Regards,
Hugo Vanwoerkom
-- System Information:
Debian Release: wheezy/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages acpitool depends on:
ii libc6 2.13-11 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.1-5 GCC support library
ii libstdc++6 4.6.1-5 GNU Standard C++ Library v3
Versions of packages acpitool recommends:
ii acpid 1:2.0.10-1 Advanced Configuration and Power I
acpitool suggests no packages.
-- no debconf information
More information about the Pkg-acpi-devel
mailing list