Bug#245820: KDE_3_2_BRANCH: kdeutils/kmilo/powerbook2
CVS commit by domi:
Make it compile with pbbuttons >= 0.6.1-2
CCMAIL:245820@bugs.debian.org
M +7 -1 pb_monitor.cpp 1.4.2.3
--- kdeutils/kmilo/powerbook2/pb_monitor.cpp #1.4.2.2:1.4.2.3
@@ -37,4 +37,10 @@ extern "C" {
#undef template
#include <pbb.h>
+
+// TAG_BRIGHTNESS was renamed to TAG_LCDBRIGHTNESS in pbbuttons
+// 0.6.1-2
+#ifndef TAG_LCDBRIGHTNESS
+#define TAG_LCDBRIGHTNESS TAG_BRIGHTNESS
+#endif
}
@@ -80,5 +86,5 @@ Monitor::DisplayType PowerBookMonitor::p
m_progress = (int)tag->data;
break;
- case TAG_BRIGHTNESS:
+ case TAG_LCDBRIGHTNESS:
rc = Monitor::Brightness;
m_progress = ((int)tag->data)*100/15;
Reply to: