Hello community,

here is the log from the commit of package DirectFB for openSUSE:Factory 
checked in at 2012-12-28 14:57:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/DirectFB (Old)
 and      /work/SRC/openSUSE:Factory/.DirectFB.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "DirectFB", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/DirectFB/DirectFB.changes        2012-12-19 
10:52:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.DirectFB.new/DirectFB.changes   2012-12-28 
14:57:31.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Dec 21 11:30:05 UTC 2012 - [email protected]
+
+- Fix cyber5k and radeon drivers build on powerpc 
+  (DirectFB-setregion.patch)
+
+-------------------------------------------------------------------

New:
----
  DirectFB-setregion.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ DirectFB.spec ++++++
--- /var/tmp/diff_new_pack.wSkrNv/_old  2012-12-28 14:57:32.000000000 +0100
+++ /var/tmp/diff_new_pack.wSkrNv/_new  2012-12-28 14:57:32.000000000 +0100
@@ -55,6 +55,8 @@
 Patch18:        DirectFB-1.6.1-mesa-libgbm-stridefix.patch
 # PATCH-FIX-UPSTREAM
 Patch19:        DirectFB-1.6.1-FusionID-fix-git21c3684.patch
+# PATCH-FIX-OPENSUSE DirectFB-setregion.patch -- [email protected]; fixes 
cyber5k and readeon drivers build on powerpc
+Patch20:        DirectFB-setregion.patch 
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
 BuildRequires:  freetype2-devel
@@ -173,6 +175,7 @@
 %patch18 -p1 -b .stride
 %endif
 %patch19 -p1 -b .fusionID
+%patch20 -p1
 #Disable ppc asm since compilation fails (and it seems better to use glibc)
 sed -i.noppcasm -e 's/want_ppcasm=yes/want_ppcasm=no/'g configure.in configure
 # Fix file-not-utf8

++++++ DirectFB-setregion.patch ++++++
Index: DirectFB-1.6.2/gfxdrivers/cyber5k/cyber5k.c
===================================================================
--- DirectFB-1.6.2.orig/gfxdrivers/cyber5k/cyber5k.c
+++ DirectFB-1.6.2/gfxdrivers/cyber5k/cyber5k.c
@@ -636,7 +636,8 @@ osdSetRegion( CoreLayer
               CoreLayerRegionConfigFlags  updated,
               CoreSurface                *surface,
               CorePalette                *palette,
-              CoreSurfaceBufferLock      *lock )
+              CoreSurfaceBufferLock      *left_lock,
+              CoreSurfaceBufferLock      *right_lock )
 {
      DFBResult ret;
 
@@ -644,7 +645,7 @@ osdSetRegion( CoreLayer
      ret = oldPrimaryFuncs.SetRegion( layer, oldPrimaryDriverData,
                                       layer_data, region_data,
                                       config, updated, surface,
-                                      palette, lock );
+                                      palette, left_lock, right_lock );
      if (ret)
           return ret;
 
Index: DirectFB-1.6.2/gfxdrivers/radeon/radeon_crtc1.c
===================================================================
--- DirectFB-1.6.2.orig/gfxdrivers/radeon/radeon_crtc1.c
+++ DirectFB-1.6.2/gfxdrivers/radeon/radeon_crtc1.c
@@ -147,14 +147,15 @@ crtc1SetRegion( CoreLayer
                 CoreLayerRegionConfigFlags  updated,
                 CoreSurface                *surface,
                 CorePalette                *palette,
-                CoreSurfaceBufferLock      *lock )
+                CoreSurfaceBufferLock      *left_lock,
+                CoreSurfaceBufferLock      *right_lock )
 {
      
      if (updated & ~CLRCF_OPTIONS) {
           return OldPrimaryLayerFuncs.SetRegion( layer,
                                                  OldPrimaryLayerDriverData,
                                                  layer_data, region_data,
-                                                 config, updated, surface, 
palette, lock );
+                                                 config, updated, surface, 
palette, left_lock, right_lock );
      }
 
      return DFB_OK;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to