package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / directfb / 0003-setregion-lock.patch
blobbec4234645b3d1ffbe2860953db588895e9ad41e
1 This patch fixes builderrors while using '--with-gfxdrivers' and
2 '--with-inputdrivers' with the current DirectFB version 1.6.3.
4 Patch is taken from
5 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/files/DirectFB-1.6.3-setregion.patch
7 Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
9 Index: b/gfxdrivers/cyber5k/cyber5k.c
10 ===================================================================
11 --- a/gfxdrivers/cyber5k/cyber5k.c
12 +++ b/gfxdrivers/cyber5k/cyber5k.c
13 @@ -640,7 +640,8 @@
14 CoreLayerRegionConfigFlags updated,
15 CoreSurface *surface,
16 CorePalette *palette,
17 - CoreSurfaceBufferLock *lock )
18 + CoreSurfaceBufferLock *left_lock,
19 + CoreSurfaceBufferLock *right_lock )
21 DFBResult ret;
23 @@ -648,7 +649,7 @@
24 ret = oldPrimaryFuncs.SetRegion( layer, oldPrimaryDriverData,
25 layer_data, region_data,
26 config, updated, surface,
27 - palette, lock );
28 + palette, left_lock, right_lock );
29 if (ret)
30 return ret;
32 Index: b/gfxdrivers/radeon/radeon_crtc1.c
33 ===================================================================
34 --- a/gfxdrivers/radeon/radeon_crtc1.c
35 +++ b/gfxdrivers/radeon/radeon_crtc1.c
36 @@ -147,14 +147,15 @@
37 CoreLayerRegionConfigFlags updated,
38 CoreSurface *surface,
39 CorePalette *palette,
40 - CoreSurfaceBufferLock *lock )
41 + CoreSurfaceBufferLock *left_lock,
42 + CoreSurfaceBufferLock *right_lock )
45 if (updated & ~CLRCF_OPTIONS) {
46 return OldPrimaryLayerFuncs.SetRegion( layer,
47 OldPrimaryLayerDriverData,
48 layer_data, region_data,
49 - config, updated, surface, palette, lock );
50 + config, updated, surface, palette, left_lock, right_lock );
53 return DFB_OK;
54 Index: b/gfxdrivers/cle266/uc_primary.c
55 ===================================================================
56 --- a/gfxdrivers/cle266/uc_primary.c
57 +++ b/gfxdrivers/cle266/uc_primary.c
58 @@ -142,7 +142,8 @@
59 CoreLayerRegionConfigFlags updated,
60 CoreSurface *surface,
61 CorePalette *palette,
62 - CoreSurfaceBufferLock *lock )
63 + CoreSurfaceBufferLock *left_lock,
64 + CoreSurfaceBufferLock *right_lock )
66 DFBResult ret;
67 UcDriverData *ucdrv = (UcDriverData*) driver_data;
68 @@ -151,7 +152,7 @@
69 ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData,
70 layer_data, region_data,
71 config, updated, surface,
72 - palette, lock );
73 + palette, left_lock, right_lock );
74 if (ret)
75 return ret;
77 Index: b/gfxdrivers/unichrome/uc_primary.c
78 ===================================================================
79 --- a/gfxdrivers/unichrome/uc_primary.c
80 +++ b/gfxdrivers/unichrome/uc_primary.c
81 @@ -139,7 +139,8 @@
82 CoreLayerRegionConfigFlags updated,
83 CoreSurface *surface,
84 CorePalette *palette,
85 - CoreSurfaceBufferLock *lock )
86 + CoreSurfaceBufferLock *left_lock,
87 + CoreSurfaceBufferLock *right_lock )
89 DFBResult ret;
90 UcDriverData *ucdrv = (UcDriverData*) driver_data;
91 @@ -148,7 +149,7 @@
92 ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData,
93 layer_data, region_data,
94 config, updated, surface,
95 - palette, lock );
96 + palette, left_lock, right_lock );
97 if (ret)
98 return ret;