[csw-users] A build for review: rxvt-unicode

Roger Håkansson hson at opencsw.org
Sun Mar 22 16:01:59 CET 2009

Maciej Bliziński wrote:
> The package doesn't build on Solaris 8 due to the lack of XSetIMValues
> in /usr/include/X11/Xlib.h.
> /opt/csw/gcc4/bin/g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H
> -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include/freetype2
> -mtune=i686 -O2 -pipe -m32 -march=i386 -I/opt/csw/include -w
> -DDEBUG_STRICT  -c rxvttoolkit.C
> rxvttoolkit.C: In member function 'bool rxvt_xim::ref_init()':
> rxvttoolkit.C:189: error: 'XSetIMValues' was not declared in this scope
> gmake[4]: *** [rxvttoolkit.o] Error 1
> gmake[4]: Leaving directory
> `/home/maciej/src/urxvt/trunk/work/build-isa-i386/rxvt-unicode-9.06/src'
> What's the usual way of handling this kind of problems?
> (incompatible/old headers on Solaris 8)

Make a patchfile for rxvttoolkit.C.

What's needed is:

#ifdef __sun
extern "C" char * XSetIMValues(XIM im, ...);

More information about the users mailing list