summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch')
-rw-r--r--app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch b/app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch
new file mode 100644
index 000000000000..ec3f92919851
--- /dev/null
+++ b/app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch
@@ -0,0 +1,12 @@
+--- src/configfile.c.orig 2002-12-17 21:07:53.000000000 -0600
++++ src/configfile.c 2002-12-17 21:07:56.000000000 -0600
+@@ -93,7 +93,8 @@
+ { "TPModeUpKey", TAG_TPMODEUPKEY, TAG_TPMODEUPMOD, cft_read_key },
+ { "TPModeDownKey", TAG_TPMODEDOWNKEY, TAG_TPMODEDOWNMOD, cft_read_key },
+ { "TPMode", TAG_TPMODE, 0, cft_read_tpmode },
+- { "KBDMode", TAG_KBDMODE, 0, cft_read_kbdmode }};
++ { "KBDMode", TAG_KBDMODE, 0, cft_read_kbdmode },
++ { "replace_pmud", TAG_REPLACEPMUD, 0, cft_read_bool}};
+
+ if ((stat(configfile, &stat_buf)) == -1) {
+ print_error (_("WARNING: Couldn't read configfile [%s, %s], using defaults.\n"), configfile, strerror(errno));