[kde-freebsd] Fixing kdm defaults

David Bruce Naylor naylor.b.david at gmail.com
Tue Nov 17 12:56:19 CET 2009


Hi,

Although kdm reports the correct shutdown commands in the comments for the 
kdmrc file, these 'defaults' are not actually adhered to.  

This is due to a few missing includes resulting in the correct system not 
being detected (<sys/param.h> is missing, which means BSD never gets defined 
and thus kdm defaults to linux).  

It appears that the only place sys/param is included properly is in genkdmconf 
which is enough for the comments about the default to be correct but nothing 
more.  

See attached for a patch that fixes this.  It might be considered a bit of a 
hack but it fits in nicely with all the other 'hacks'.  

Regards,

David

P.S. I've submitted a bug report: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-kdm-config.def
Type: text/x-patch
Size: 482 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20091117/262c55ad/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20091117/262c55ad/attachment.sig 


More information about the kde-freebsd mailing list