diff options
Diffstat (limited to 'app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.10-compat.patch')
-rw-r--r-- | app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.10-compat.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.10-compat.patch b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.10-compat.patch new file mode 100644 index 000000000000..1f633540ca66 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.10-compat.patch @@ -0,0 +1,23 @@ +diff -ruN pbbuttonsd-0.5.10.orig/libpbbipc/pbbtags.h pbbuttonsd-0.5.10/libpbbipc/pbbtags.h +--- pbbuttonsd-0.5.10.orig/libpbbipc/pbbtags.h 2004-04-21 13:11:34.534048368 +0200 ++++ pbbuttonsd-0.5.10/libpbbipc/pbbtags.h 2004-04-21 13:17:02.968118800 +0200 +@@ -92,6 +92,19 @@ + #define TAG_BLANKFRAMEBUFFER MOD_DISPLAY | 9 + #define TAG_DIMFULLYDARK MOD_DISPLAY | 11 + ++/* Compatibility tags, needed by kmilo and possibly other programs */ ++#define TAG_BRIGHTNESSUPKEY MOD_DISPLAY | 1 ++#define TAG_BRIGHTNESSUPMOD MOD_DISPLAY | 2 ++#define TAG_BRIGHTNESSDOWNKEY MOD_DISPLAY | 3 ++#define TAG_BRIGHTNESSDOWNMOD MOD_DISPLAY | 4 ++#define TAG_BRIGHTNESS MOD_DISPLAY | 5 ++#define TAG_BRIGHTNESSOP MOD_DISPLAY | FLG_PRIVATE | 6 ++#define TAG_BRIGHTNESSMAX MOD_DISPLAY | 7 ++#define TAG_FRAMEBUFFERDEVICE MOD_DISPLAY | FLG_STRING | 8 ++#define TAG_BLANKFRAMEBUFFER MOD_DISPLAY | 9 ++#define TAG_FADINGSPEED MOD_DISPLAY | 10 ++#define TAG_DIMFULLYDARK MOD_DISPLAY | 11 ++ + #define MOD_MIXER 5 << 16 + #define TAG_MIXERDEVICE MOD_MIXER | FLG_STRING | 1 + #define TAG_VOLUMEUPKEY MOD_MIXER | 2 |