Changeset 112500


Ignore:
Timestamp:
Oct 24, 2013, 5:30:01 PM (6 years ago)
Author:
ryandesign@…
Message:

wine-crossover: fix build on Mavericks (#40905)

Location:
trunk/dports/x11/wine-crossover
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/wine-crossover/Portfile

    r109450 r112500  
    7676patchfiles                  BOOL.patch \
    7777                            mach_machine.patch \
     78                            patch-dlls-winemac.drv-gdi.c.diff \
    7879                            winedbg.patch
    7980
  • trunk/dports/x11/wine-crossover/files/patch-dlls-winemac.drv-gdi.c.diff

    r112494 r112500  
    11Fix build on Mavericks
    22http://bugs.winehq.org/show_bug.cgi?id=34162
    3 --- dlls/winemac.drv/gdi.c.orig
    4 +++ dlls/winemac.drv/gdi.c
    5 @@ -49,7 +49,6 @@ static int vert_res;            /* height in pixels of screen */
     3--- dlls/winemac.drv/gdi.c.orig 2013-07-22 08:39:22.000000000 -0500
     4+++ dlls/winemac.drv/gdi.c      2013-10-24 12:22:48.000000000 -0500
     5@@ -39,7 +39,6 @@
    66 static int desktop_horz_res;    /* width in pixels of virtual desktop */
    77 static int desktop_vert_res;    /* height in pixels of virtual desktop */
    88 static int bits_per_pixel;      /* pixel depth of screen */
    99-static int palette_size;        /* number of color entries in palette */
    10  static int device_data_valid;   /* do the above variables have up-to-date values? */
     10 static int device_data_valid;
    1111 
    1212 static CRITICAL_SECTION device_data_section;
    13 @@ -141,7 +140,6 @@ static void device_init(void)
     13@@ -93,7 +92,6 @@
    1414     CGDirectDisplayID mainDisplay = CGMainDisplayID();
    1515     CGSize size_mm = CGDisplayScreenSize(mainDisplay);
     
    1919     /* Initialize device caps */
    2020     log_pixels_x = log_pixels_y = get_dpi();
    21 @@ -187,15 +185,6 @@ static void device_init(void)
     21@@ -139,15 +137,6 @@
    2222     desktop_horz_res = desktop_rect.size.width;
    2323     desktop_vert_res = desktop_rect.size.height;
     
    3535 }
    3636 
    37 @@ -368,7 +357,7 @@ static INT macdrv_GetDeviceCaps(PHYSDEV dev, INT cap)
     37@@ -319,7 +308,7 @@
    3838     case RASTERCAPS:
    3939         ret = (RC_BITBLT | RC_BANDING | RC_SCALING | RC_BITMAP64 | RC_DI_BITMAP |
     
    4444     case SHADEBLENDCAPS:
    4545         ret = (SB_GRAD_RECT | SB_GRAD_TRI | SB_CONST_ALPHA | SB_PIXEL_ALPHA);
    46 @@ -393,7 +382,7 @@ static INT macdrv_GetDeviceCaps(PHYSDEV dev, INT cap)
     46@@ -344,7 +333,7 @@
    4747         ret = 0;
    4848         break;
Note: See TracChangeset for help on using the changeset viewer.