diff options
author | root <root@rshg054.dnsready.net> | 2011-11-02 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-02 23:14:55 +0000 |
commit | 6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (patch) | |
tree | 71f462606f0e719d1e04bd2232763bfe05a68a29 /community-testing/acpitool/linux-3.0.patch | |
parent | 9343f37ee7ba1aa98f65272412d331a280890e12 (diff) |
Wed Nov 2 23:14:55 UTC 2011
Diffstat (limited to 'community-testing/acpitool/linux-3.0.patch')
-rw-r--r-- | community-testing/acpitool/linux-3.0.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/community-testing/acpitool/linux-3.0.patch b/community-testing/acpitool/linux-3.0.patch new file mode 100644 index 000000000..ba454a0c2 --- /dev/null +++ b/community-testing/acpitool/linux-3.0.patch @@ -0,0 +1,18 @@ +diff -wbBur acpitool-0.5.1/src/acpitool.cpp acpitool-0.5.1.my/src/acpitool.cpp +--- acpitool-0.5.1/src/acpitool.cpp 2009-08-13 23:37:48.000000000 +0400 ++++ acpitool-0.5.1.my/src/acpitool.cpp 2011-08-11 21:53:17.000000000 +0400 +@@ -205,8 +205,12 @@ + Kernel_24 = 1; + Kernel_26 = 0; + } +- +- if(strncmp(str,"2.6",3)==0) ++ else if(strncmp(str,"2.6",3)==0) ++ { ++ Kernel_24 = 0; ++ Kernel_26 = 1; ++ } ++ else + { + Kernel_24 = 0; + Kernel_26 = 1; |