| Summary: | kmilo: powerbook2 doesn't compile with pbbuttons 0.6.9 | ||
|---|---|---|---|
| Product: | [Unmaintained] kmilo | Reporter: | Julien "KaZe" Rozo <julien> |
| Component: | Powerbook2 module | Assignee: | Zack Rusin <zack> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | pbbuttonsd >= 0.6.8 patch | ||
|
Description
Julien "KaZe" Rozo
2005-04-25 13:39:55 UTC
Created attachment 11283 [details]
pbbuttonsd >= 0.6.8 patch
In versions of pbbuttonsd >= 0.6.8, the ipc_init function has changed from
int ipc_init(int, int) to int ipc_init(char *, int, int).
This patch fixes the problem.
SVN commit 423099 by mueller:
fix libpbb failure with pbbuttonsd >= 0.6.8
CCBUG: 104517
M +5 -0 pb_monitor.cpp
--- trunk/KDE/kdeutils/kmilo/powerbook2/pb_monitor.cpp #423098:423099
@@ -65,7 +65,12 @@
bool PowerBookMonitor::init()
{
+// pbbuttons 0.6.7 or newer
+#ifdef CLIENT_REGISTER
+ return ( ipc_init( "kmilo", LIBMODE_CLIENT, CLIENT_REGISTER ) == 0 );
+#else
return ( ipc_init( LIBMODE_CLIENT, 1 ) == 0 );
+#endif
}
SVN commit 423100 by mueller:
fix compile failure with pbbuttons >= 0.6.9
BUG: 104517
M +5 -0 pb_monitor.cpp
--- branches/KDE/3.4/kdeutils/kmilo/powerbook2/pb_monitor.cpp #423099:423100
@@ -65,7 +65,12 @@
bool PowerBookMonitor::init()
{
+// pbbuttons 0.6.7 or newer
+#ifdef CLIENT_REGISTER
+ return ( ipc_init( "kmilo", LIBMODE_CLIENT, CLIENT_REGISTER ) == 0 );
+#else
return ( ipc_init( LIBMODE_CLIENT, 1 ) == 0 );
+#endif
}
|