name=xorg-libx11
version=1.3.2
-release=1
+release=2
source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2)
build() {
sed -i configure \
-e "s|KEYSYMDEF=.*|KEYSYMDEF=\"$CLFS/usr/include/X11/keysymdef.h\"|"
- export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
+ export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lxcb "
export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export X11_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/X11/Xtrans"
export XPROTO_LIBS="$X11_LIBS"
export XPROTO_CFLAGS="$X11_CFLAGS"
export XKBPROTO_LIBS="$X11_LIBS"
export XKBPROTO_CFLAGS="$X11_CFLAGS"
- export XDMCP_LIBS="$X11_LIBS"
+ export XDMCP_LIBS="$X11_LIBS -lXdmcp"
export XDMCP_CFLAGS="$X11_CFLAGS"
./configure --build=$CHOST \