[arch-commits] Commit in wine/repos (3 files)

Giovanni Scafora giovanni at archlinux.org
Fri Sep 4 22:41:43 UTC 2009


    Date: Friday, September 4, 2009 @ 18:41:43
  Author: giovanni
Revision: 51103

Merged revisions 51102 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/wine/trunk

........
  r51102 | giovanni | 2009-09-04 15:41:03 -0700 (ven, 04 set 2009) | 2 lines
  
  upgpkg: wine 1.1.29-1
      New version 1.1.29
........

Added:
  wine/repos/extra-i686/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch
    (from rev 51102, wine/trunk/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch)
Modified:
  wine/repos/extra-i686/	(properties)
  wine/repos/extra-i686/PKGBUILD

-----------------------------------------------------------------+
 0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch |   39 ++++++++++
 PKGBUILD                                                        |    9 +-
 2 files changed, 45 insertions(+), 3 deletions(-)


Property changes on: wine/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /wine/trunk:1-49425
   + /wine/trunk:1-51102

Copied: wine/repos/extra-i686/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch (from rev 51102, wine/trunk/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch)
===================================================================
--- extra-i686/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch	                        (rev 0)
+++ extra-i686/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch	2009-09-04 22:41:43 UTC (rev 51103)
@@ -0,0 +1,39 @@
+From 0454ace14774654c3670a2a29613bed5039991c5 Mon Sep 17 00:00:00 2001
+From: Roderick Colenbrander <thunderbird2k at gmail.com>
+Date: Thu, 3 Sep 2009 13:51:44 +0200
+Subject: [PATCH] Always adjust the color_shifts pointer when SelectBitmap is called. This fixes a regression in Steam (bug 19916).
+
+---
+ dlls/winex11.drv/bitmap.c |   10 ++++++----
+ 1 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/dlls/winex11.drv/bitmap.c b/dlls/winex11.drv/bitmap.c
+index 4d635aa..fee2dbc 100644
+--- a/dlls/winex11.drv/bitmap.c
++++ b/dlls/winex11.drv/bitmap.c
+@@ -110,10 +110,6 @@ HBITMAP CDECL X11DRV_SelectBitmap( X11DRV_PDEVICE *physDev, HBITMAP hbitmap )
+     if (physDev->depth != physBitmap->pixmap_depth)
+     {
+         physDev->depth = physBitmap->pixmap_depth;
+-        if(physDev->depth == 1)
+-            physDev->color_shifts = NULL;
+-        else
+-            physDev->color_shifts = &physBitmap->pixmap_color_shifts;
+         wine_tsx11_lock();
+         XFreeGC( gdi_display, physDev->gc );
+         physDev->gc = XCreateGC( gdi_display, physDev->drawable, 0, NULL );
+@@ -122,6 +118,12 @@ HBITMAP CDECL X11DRV_SelectBitmap( X11DRV_PDEVICE *physDev, HBITMAP hbitmap )
+         XFlush( gdi_display );
+         wine_tsx11_unlock();
+     }
++
++    if(physDev->depth == 1)
++        physDev->color_shifts = NULL;
++    else
++        physDev->color_shifts = &physBitmap->pixmap_color_shifts;
++
+     return hbitmap;
+ }
+ 
+-- 
+1.6.0.4

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-09-04 22:41:03 UTC (rev 51102)
+++ extra-i686/PKGBUILD	2009-09-04 22:41:43 UTC (rev 51103)
@@ -3,7 +3,7 @@
 # Contributor: Giovanni Scafora <giovanni at archlinux.org>
 
 pkgname=wine
-pkgver=1.1.27
+pkgver=1.1.29
 pkgrel=1
 pkgdesc="A compatibility layer for running Windows programs"
 url="http://www.winehq.com"
@@ -15,11 +15,14 @@
              'libxinerama' 'esound' 'giflib' 'ncurses' 'libxcomposite' 'samba' \
              'libxpm' 'libxmu' 'libxxf86vm' 'perl' 'libxml2')
 optdepends=("cups" "sane" "libgphoto2" "alsa-lib" "giflib" "libpng")
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('716a2d45aa1cd46d1bfe227790a3a4e9')
+source=(http://ibiblio.org/pub/linux/system/emulators/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch)
+md5sums=('c3a9218840a80b29932cee49f2d45d9d'
+         '63c4a6aee199039d35e6b57fa505e887')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i ${srcdir}/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch
   ./configure --prefix=/usr \
               --sysconfdir=/etc \
 	      --with-x




More information about the arch-commits mailing list