1 This patch fixes builderrors while using '--with-gfxdrivers' and
2 '--with-inputdrivers' with the current DirectFB version 1.6.3.
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
14 CoreLayerRegionConfigFlags updated,
17 - CoreSurfaceBufferLock *lock )
18 + CoreSurfaceBufferLock *left_lock,
19 + CoreSurfaceBufferLock *right_lock )
24 ret = oldPrimaryFuncs.SetRegion( layer, oldPrimaryDriverData,
25 layer_data, region_data,
26 config, updated, surface,
28 + palette, left_lock, right_lock );
32 Index: b/gfxdrivers/radeon/radeon_crtc1.c
33 ===================================================================
34 --- a/gfxdrivers/radeon/radeon_crtc1.c
35 +++ b/gfxdrivers/radeon/radeon_crtc1.c
37 CoreLayerRegionConfigFlags updated,
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 );
54 Index: b/gfxdrivers/cle266/uc_primary.c
55 ===================================================================
56 --- a/gfxdrivers/cle266/uc_primary.c
57 +++ b/gfxdrivers/cle266/uc_primary.c
59 CoreLayerRegionConfigFlags updated,
62 - CoreSurfaceBufferLock *lock )
63 + CoreSurfaceBufferLock *left_lock,
64 + CoreSurfaceBufferLock *right_lock )
67 UcDriverData *ucdrv = (UcDriverData*) driver_data;
69 ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData,
70 layer_data, region_data,
71 config, updated, surface,
73 + palette, left_lock, right_lock );
77 Index: b/gfxdrivers/unichrome/uc_primary.c
78 ===================================================================
79 --- a/gfxdrivers/unichrome/uc_primary.c
80 +++ b/gfxdrivers/unichrome/uc_primary.c
82 CoreLayerRegionConfigFlags updated,
85 - CoreSurfaceBufferLock *lock )
86 + CoreSurfaceBufferLock *left_lock,
87 + CoreSurfaceBufferLock *right_lock )
90 UcDriverData *ucdrv = (UcDriverData*) driver_data;
92 ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData,
93 layer_data, region_data,
94 config, updated, surface,
96 + palette, left_lock, right_lock );