! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-panel 4.9.0 fails to compile on Solaris
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Peter Tribble 2012-01-01 17:24:35 CET
In the 4.9.0 development release, the clock plugin fails to compile with the following error:

gmake[4]: Entering directory `/storage/build/xfce410/xfce4-panel-4.9.0/plugins/clock'
  CC     libclock_la-clock.lo
clock.c:907: error: syntax error before "info"
clock.c: In function `clock_plugin_timeout_expired':
clock.c:909: error: `info' undeclared (first use in this function)
clock.c:909: error: (Each undeclared identifier is reported only once
clock.c:909: error: for each function it appears in.)
gmake[4]: *** [libclock_la-clock.lo] Error 1

Basically, Solaris knows nothing of sigval_t. I was able to work around this with the addition of the following to plugins/clock/clock.c:

typedef union sigval sigval_t;

but I have no idea what a correct fix would look like.
Comment 1 Nick Schermer editbugs 2012-01-15 20:12:14 CET
Fixed in 9430906. Maybe you could try the patch from git.

http://git.xfce.org/xfce/xfce4-panel/patch/?id=9430906f6d82f5d66e835b8e924ff8beed58d109

Bug #8297

Reported by:
Peter Tribble
Reported on: 2012-01-01
Last modified on: 2012-01-15

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information