diff options
Diffstat (limited to 'xfce-extra/xfce4-battery/files/ac_adapter.patch')
-rw-r--r-- | xfce-extra/xfce4-battery/files/ac_adapter.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xfce-extra/xfce4-battery/files/ac_adapter.patch b/xfce-extra/xfce4-battery/files/ac_adapter.patch deleted file mode 100644 index e1626d85d9d7..000000000000 --- a/xfce-extra/xfce4-battery/files/ac_adapter.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur xfce4-battery-plugin-0.3.0.orig/panel-plugin/libacpi.c xfce4-battery-plugin-0.3.0/panel-plugin/libacpi.c ---- xfce4-battery-plugin-0.3.0.orig/panel-plugin/libacpi.c 2003-09-09 09:49:16.000000000 -0400 -+++ xfce4-battery-plugin-0.3.0/panel-plugin/libacpi.c 2006-04-09 13:37:21.000000000 -0400 -@@ -277,7 +277,10 @@ - if (!(acpi = fopen ("/proc/acpi/ac_adapter/ACAD/state", "r"))) - if (!(acpi = fopen ("/proc/acpi/ac_adapter/AC/state", "r"))) - if (!(acpi = fopen ("/proc/acpi/ac_adapter/ADP1/state", "r"))) -- return -1; -+ if (!(acpi = fopen ("/proc/acpi/ac_adapter/AC0/state", "r"))) -+ if (!(acpi = fopen ("/proc/acpi/ac_adapter/ADP0/state", "r"))) -+ if (!(acpi = fopen ("/proc/acpi/ac_adapter/C11B/state", "r"))) -+ return -1; - - fread (buf, 512, 1, acpi); - fclose (acpi); |