xserver_xorg-server: fix fontrootdir configuration
authorFilippo Sironi <filippo.sironi@gmail.com>
Tue, 13 May 2014 13:59:49 +0000 (15:59 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 16 May 2014 14:12:48 +0000 (16:12 +0200)
The --with-fontdir switch has been substituted by the --with-fontrootdir
switch a few versions ago. The use of the old configuration switch was
causing error messages like the following:

_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/*/
[dix] Could not init font path element ${prefix}/share/fonts/X11/*/, removing from list!

Signed-off-by: Filippo Sironi <filippo.sironi@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk

index 4f2eff20fd5229b91892e72aaf3e2199aa8dc9fb..284d6022cfd835de5ebeef3309dedd6702e78598 100644 (file)
@@ -59,7 +59,7 @@ XSERVER_XORG_SERVER_CONF_OPT = --disable-config-hal \
                --disable-xnest --disable-xephyr --disable-dmx \
                --with-builder-addr=buildroot@buildroot.org \
                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1" \
-               --with-fontdir=/usr/share/fonts/X11/ --localstatedir=/var \
+               --with-fontrootdir=/usr/share/fonts/X11/ --localstatedir=/var \
                --$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb
 
 ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y)