xorg-xserver-common.inc : disable apm handling for Xorg on arm, it
authorGraeme Gregory <dp@xora.org.uk>
Wed, 12 Nov 2008 10:32:42 +0000 (10:32 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Wed, 12 Nov 2008 15:23:07 +0000 (15:23 +0000)
causes Xorg to enter D state on suspend. Xorg doesnt actually seem to
need to know about apm. And a similar hack has been used with kdrive
for years in OE.

packages/xorg-xserver/xorg-xserver-common.inc

index 190de2c..84e3c30 100644 (file)
@@ -26,6 +26,8 @@ inherit autotools pkgconfig
 EXTRA_OECONF += " --enable-xcalibrate \
                   ac_cv_file__usr_share_sgml_X11_defs_ent=no"
 
+EXTRA_OECONF_append_arm = " ac_cv_header_linux_apm_bios_h=no "
+
 PACKAGES =+ "xserver-security-policy"
 FILES_xserver-security-policy += "${libdir}/xserver/SecurityPolicy"
 RRECOMMENDS_${PN} += "xserver-security-policy xkeyboard-config xorg-minimal-fonts rgb"