path: root/common/recipes-graphics/xorg-xserver/
diff options
authorTom Zanussi <>2012-01-12 18:18:50 (GMT)
committerTom Zanussi <>2012-01-12 18:27:30 (GMT)
commit4b6657ce65e3b15118c663f7b03249560d282cbd (patch)
treedc0371edd6ff4a8bc38cab780492e29962c9e2f0 /common/recipes-graphics/xorg-xserver/
parent9016be4d8005cfff3fedf4aded4600c6e110263a (diff)
meta-intel/common: fix ptr->int and Werror=address compile
A couple of things that had previously been warnings are now errors, so they need to be fixed up. The first problem is a comparison between the address of a static struct and NULL, which can never be valid. A different fix for this is upstream, which includes an API usage change; we don't need that to fix this problem. The second problem is a cast from pointer to integer in fbdevhw.c. This also is fixed upstream by removing the whole section of code which is bogus anyway, which is also done here. This also adds a missing PR to the xserver-xorg recipe. Signed-off-by: Tom Zanussi <>
Diffstat (limited to 'common/recipes-graphics/xorg-xserver/')
1 files changed, 5 insertions, 0 deletions
diff --git a/common/recipes-graphics/xorg-xserver/ b/common/recipes-graphics/xorg-xserver/
index 888445d..8c7009f 100644
--- a/common/recipes-graphics/xorg-xserver/
+++ b/common/recipes-graphics/xorg-xserver/
@@ -4,6 +4,10 @@ SRC_URI += "file://nodolt.patch \
4# Misc build failure for master HEAD 4# Misc build failure for master HEAD
5SRC_URI += "file://fix_open_max_preprocessor_error.patch" 5SRC_URI += "file://fix_open_max_preprocessor_error.patch"
6 6
7# What once were warnings now are errors, fix those up
8SRC_URI += "file://werror-address-fix.patch \
9 file://ptr-to-int-cast-fix.patch"
7PROTO_DEPS += "xf86driproto dri2proto" 11PROTO_DEPS += "xf86driproto dri2proto"
8DEPENDS += "font-util" 12DEPENDS += "font-util"
9EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga" 13EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga"
@@ -13,3 +17,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353"
13SRC_URI[md5sum] = "5bef6839a76d029204ab31aa2fcb5201" 17SRC_URI[md5sum] = "5bef6839a76d029204ab31aa2fcb5201"
14SRC_URI[sha256sum] = "864831f51e841ff37f2445d1c85b86b559c8860a435fb496aead4f256a2b141d" 18SRC_URI[sha256sum] = "864831f51e841ff37f2445d1c85b86b559c8860a435fb496aead4f256a2b141d"
15 19
20PR = "r1"