diff options
Diffstat (limited to 'mail-client/sylpheed-claws-acpi-notifier/files/acpi_notifier-0.3-ibm.patch')
-rw-r--r-- | mail-client/sylpheed-claws-acpi-notifier/files/acpi_notifier-0.3-ibm.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mail-client/sylpheed-claws-acpi-notifier/files/acpi_notifier-0.3-ibm.patch b/mail-client/sylpheed-claws-acpi-notifier/files/acpi_notifier-0.3-ibm.patch new file mode 100644 index 000000000000..0e79c790fbb5 --- /dev/null +++ b/mail-client/sylpheed-claws-acpi-notifier/files/acpi_notifier-0.3-ibm.patch @@ -0,0 +1,19 @@ +--- src/acpi_notifier.c.orig 2005-11-04 14:22:00.000000000 +0100 ++++ src/acpi_notifier.c 2005-11-04 14:22:05.000000000 +0100 +@@ -55,6 +55,7 @@ + {"Other", "", "", ""}, + {"ACER", "1", "0", "/proc/driver/acerhk/led"}, + {"ASUS", "1", "0", "/proc/acpi/asus/mled"}, ++ {"IBM", "7 on", "7 off", "/proc/acpi/ibm/led"}, + {NULL, NULL, NULL, NULL} + }; + +@@ -545,7 +546,7 @@ + if (on) { + fwrite(acpiprefs.on_param, 1, strlen(acpiprefs.on_param), fp); + } else { +- fwrite(acpiprefs.off_param, 1, strlen(acpiprefs.on_param), fp); ++ fwrite(acpiprefs.off_param, 1, strlen(acpiprefs.off_param), fp); + } + fclose(fp); + } |