4.4.1 compilation problems

Olivier Fourdan fourdan at xfce.org
Wed Apr 11 15:05:12 CEST 2007


On 4/11/07, Martti Kuparinen <martti.kuparinen at iki.fi> wrote:
[...]
> frame.c: In function 'frameSetShape':
> frame.c:817: error: expected ')' before ';' token
> frame.c:817: error: too few arguments to function 'XShapeCombineShape'
> frame.c:818: error: expected ')' before ';' token
> frame.c:818: error: too few arguments to function 'XShapeCombineShape'
> frame.c:819: error: expected ')' before ';' token
> frame.c:819: error: too few arguments to function 'XShapeCombineShape'

Yes, my bad, there is a typo in one define for systems that use an older Xorg/XFree86 version missing ShapeInput definition.

You need to remove the semicolon ";" after "#define ShapeInput 2" line 41 of frame.c

Alternatively, you may use the simple patch attached:

1) Save the file attached as /tmp/xfwm4-4.4.1-fix-typo.patch
2) Untar xfwm4-4.4.1.tar.bz2 source package
3) cd xfwm4-4.4.1
4) patch -p1 < /tmp/xfwm4-4.4.1-fix-typo.patch
5) Rebuild as usual

Sorry for the inconvenience,
Cheers,
Olivier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfwm4-4.4.1-fix-typo.patch
Type: text/x-patch
Size: 257 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070411/6fbd202c/attachment.bin>


More information about the Xfce4-dev mailing list