[kde-solaris] Re: Fix for bug #99585

Steve Evans stevee at zuken.co.uk
Thu Feb 17 18:36:26 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Feb 2005, mats.rojestal at bredband.net wrote:

> Hi,
>
> It compiles fine (kdeaccessibility cvs head ) on both
> solaris{9,10}_x86 with gcc 3.4.3.
>
> This is the only fix.
>
>
> ===================================================================
> RCS file: /home/kde/kdeaccessibility/kbstateapplet/kbstate.cpp,v
> retrieving revision 1.5
> diff -u -r1.5 kbstate.cpp
> --- kbstateapplet/kbstate.cpp   30 Jan 2005 04:27:17 -0000      1.5
> +++ kbstateapplet/kbstate.cpp   17 Feb 2005 16:41:44 -0000
>>> -41,6 +41,8 @@
>
> extern "C"
> {
> +#include <X11/Xlib.h>
> +#include <X11/Xutil.h>
> #include <X11/XKBlib.h>
> #define XK_MISCELLANY
> #define XK_XKB_KEYS
> ===================================================================
>
> Regards Mats R
>

Unfortunately it doesn't build on Solaris 2.6 and we still have some
machines with that archaic version, which I have to build for :-(

Perhaps the solution is to compile it only if <X11/XKBlib.h> is
present?

Steve
- -- 
____________________________________________________________________________
Steve Evans,
Zuken Limited,                     TEL:   +44 (0)1454 207800 ext 8607
1500 Aztec West,                   Fax:   +44 (0)1454 207803
Almondsbury,                       mailto:stevee at zuken.co.uk
                                   mailto:gorbag at gmail.com
Bristol, BS32 4RF, UK              Web:   http://www.zuken.com
Registered Linux user #217906:     http://counter.li.org
Public Encryption Key:             http://www.gorbag.com/public-key-work.html
"a at b c"@d
_____________________________________________________________________________

We all live in a yellow subroutine.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (SunOS)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCFNYP1a67iNP86GcRAgSxAJ0VVoITELq7TlWF+3f/HDLjlUCwqACgwtev
cNRT6G8Ercem+hZx5Sz///A=
=zuPj
-----END PGP SIGNATURE-----


More information about the kde-solaris mailing list