diff options
author | root <root@rshg054.dnsready.net> | 2011-08-12 23:14:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-12 23:14:35 +0000 |
commit | 3b2bf66355e8254bc2f033dab2dfea9e2978fa4d (patch) | |
tree | 71995991b30b0bfc7deb0c92f1da969bbfd91ec7 /community/acpitool/linux-3.0.patch | |
parent | eddbc98aa28d38b35833cfb1a4a3cf632c9f2b47 (diff) |
Fri Aug 12 23:14:35 UTC 2011
Diffstat (limited to 'community/acpitool/linux-3.0.patch')
-rw-r--r-- | community/acpitool/linux-3.0.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/community/acpitool/linux-3.0.patch b/community/acpitool/linux-3.0.patch new file mode 100644 index 000000000..ba454a0c2 --- /dev/null +++ b/community/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; |