diff options
Diffstat (limited to 'common/recipes-graphics/xorg-xserver/xserver-xorg-1.9.3/werror-address-fix.patch')
-rw-r--r-- | common/recipes-graphics/xorg-xserver/xserver-xorg-1.9.3/werror-address-fix.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/common/recipes-graphics/xorg-xserver/xserver-xorg-1.9.3/werror-address-fix.patch b/common/recipes-graphics/xorg-xserver/xserver-xorg-1.9.3/werror-address-fix.patch new file mode 100644 index 00000000..49d3f947 --- /dev/null +++ b/common/recipes-graphics/xorg-xserver/xserver-xorg-1.9.3/werror-address-fix.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | Upstream-Status: Inappropriate [yocto-specific] | ||
2 | |||
3 | This is fixed upstream by actually making these tests meaningful. | ||
4 | As they stand, the warning is correct and they're no-ops, so remove | ||
5 | them. | ||
6 | |||
7 | Signed-off-by: Tom Zanussi <tom.zanussi (a] intel.com> | ||
8 | |||
9 | Index: xorg-server-1.9.3/Xext/xvmc.c | ||
10 | =================================================================== | ||
11 | --- xorg-server-1.9.3.orig/Xext/xvmc.c 2012-01-12 09:57:36.306947860 -0600 | ||
12 | +++ xorg-server-1.9.3/Xext/xvmc.c 2012-01-12 10:24:59.286729946 -0600 | ||
13 | @@ -467,7 +467,6 @@ | ||
14 | return Success; | ||
15 | } | ||
16 | |||
17 | - | ||
18 | static int | ||
19 | ProcXvMCListSubpictureTypes(ClientPtr client) | ||
20 | { | ||
21 | @@ -487,9 +486,6 @@ | ||
22 | |||
23 | pScreen = pPort->pAdaptor->pScreen; | ||
24 | |||
25 | - if(XvMCScreenKey == NULL) /* No XvMC adaptors */ | ||
26 | - return BadMatch; | ||
27 | - | ||
28 | if(!(pScreenPriv = XVMC_GET_PRIVATE(pScreen))) | ||
29 | return BadMatch; /* None this screen */ | ||
30 | |||
31 | @@ -668,9 +664,6 @@ | ||
32 | { | ||
33 | ExtensionEntry *extEntry; | ||
34 | |||
35 | - if(XvMCScreenKey == NULL) /* nobody supports it */ | ||
36 | - return; | ||
37 | - | ||
38 | if(!(XvMCRTContext = CreateNewResourceType(XvMCDestroyContextRes, | ||
39 | "XvMCRTContext"))) | ||
40 | return; | ||
41 | @@ -746,8 +739,6 @@ | ||
42 | XvMCAdaptorPtr adaptor = NULL; | ||
43 | int i; | ||
44 | |||
45 | - if(XvMCScreenKey == NULL) return NULL; | ||
46 | - | ||
47 | if(!(pScreenPriv = XVMC_GET_PRIVATE(pScreen))) | ||
48 | return NULL; | ||
49 | |||