public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-laptop/ibam/files: ibam-0.5.2-acpi.patch
@ 2011-03-20 15:34 Amadeusz Zolnowski (aidecoe)
  0 siblings, 0 replies; only message in thread
From: Amadeusz Zolnowski (aidecoe) @ 2011-03-20 15:34 UTC (permalink / raw
  To: gentoo-commits

aidecoe     11/03/20 15:34:24

  Added:                ibam-0.5.2-acpi.patch
  Log:
  app-laptop/ibam: Revbump to 0.5.2-r2. Fixes bug #346811.
  
  (Portage version: 2.1.9.44/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-laptop/ibam/files/ibam-0.5.2-acpi.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/ibam/files/ibam-0.5.2-acpi.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/ibam/files/ibam-0.5.2-acpi.patch?rev=1.1&content-type=text/plain

Index: ibam-0.5.2-acpi.patch
===================================================================
--- ibam-0.5.2/ibam.inl	2009-03-09 19:53:20.000000000 +0300
+++ ibam-0.5.2/ibam.inl	2010-11-26 04:52:29.590364097 +0300
@@ -942,10 +942,11 @@ 
 {
    string pmu_path = "/proc/pmu";    // These strings are already in ibam.hpp,
    string acpi_path = "/proc/acpi";  // maybe a static function should check this
+   string acpi_ver_path = "/sys/module/acpi/parameters/acpica_version";
    string sysfs_path = "/sys/class/power_supply"; // ...
    ifstream pmu,acpi,sysfs;
    pmu.open((pmu_path+"/info").c_str());
-   acpi.open((acpi_path+"/info").c_str());
+   acpi.open(acpi_ver_path.c_str());
    if (pmu.is_open()) {
 #ifdef IBAM_DEBUG
       cout << "using pmu" << endl;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-20 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-20 15:34 [gentoo-commits] gentoo-x86 commit in app-laptop/ibam/files: ibam-0.5.2-acpi.patch Amadeusz Zolnowski (aidecoe)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox