Ticket #33618: wine-crossover-11.0.0.diff
File wine-crossover-11.0.0.diff, 10.0 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
files/BOOL.patch
16 16 #undef LoadResource 17 17 #undef CompareString 18 18 #undef GetCurrentThread 19 --- dlls/dinput/joystick_osx.c.orig 2012-02-13 11:57:04.000000000 -0800 20 +++ dlls/dinput/joystick_osx.c 2012-02-13 11:57:27.000000000 -0800 21 @@ -24,6 +24,7 @@ 22 #include "wine/port.h" 23 24 #if defined(HAVE_CARBON_CARBON_H) && defined(HAVE_IOKIT_HID_IOHIDLIB_H) 25 +#define BOOL __carbon_BOOL 26 #define LoadResource __carbon_LoadResource 27 #define CompareString __carbon_CompareString 28 #define GetCurrentThread __carbon_GetCurrentThread 29 @@ -62,6 +63,7 @@ 30 #define STDMETHODCALLTYPE __carbon_STDMETHODCALLTYPE 31 #include <Carbon/Carbon.h> 32 #include <IOKit/hid/IOHIDLib.h> 33 +#undef BOOL 34 #undef LoadResource 35 #undef CompareString 36 #undef GetCurrentThread 37 --- dlls/windowscodecs/icnsformat.c.orig 2012-02-13 12:58:07.000000000 -0800 38 +++ dlls/windowscodecs/icnsformat.c 2012-02-13 12:58:31.000000000 -0800 19 --- dlls/windowscodecs/icnsformat.c.orig 2012-02-12 23:54:58.000000000 -0800 20 +++ dlls/windowscodecs/icnsformat.c 2012-02-12 23:55:20.000000000 -0800 39 21 @@ -22,6 +22,7 @@ 40 22 #include <stdarg.h> 41 23 … … 44 26 #define GetCurrentProcess GetCurrentProcess_Mac 45 27 #define GetCurrentThread GetCurrentThread_Mac 46 28 #define LoadResource LoadResource_Mac 47 @@ - 37,6 +38,7 @@29 @@ -49,6 +50,7 @@ 48 30 #define ShowCursor ShowCursor_Mac 49 31 #define UnionRect UnionRect_Mac 50 32 #include <ApplicationServices/ApplicationServices.h> … … 52 34 #undef GetCurrentProcess 53 35 #undef GetCurrentThread 54 36 #undef LoadResource 55 --- dlls/wineosxime.drv/mactext.c.orig 2012-02-13 14:31:06.000000000 -0800 56 +++ dlls/wineosxime.drv/mactext.c 2012-02-13 14:31:58.000000000 -0800 57 @@ -50,7 +50,9 @@ 58 #ifdef __APPLE__ 37 --- dlls/wineqtdecoder/qtdatahandler.c.orig 2012-02-13 00:04:58.000000000 -0800 38 +++ dlls/wineqtdecoder/qtdatahandler.c 2012-02-13 00:05:24.000000000 -0800 39 @@ -23,6 +23,7 @@ 40 #define ULONG CoreFoundation_ULONG 41 #define HRESULT CoreFoundation_HRESULT 59 42 60 #include "wine/debug.h"61 43 +#define BOOL __carbon_BOOL 62 #include <Carbon/Carbon.h> 44 #define LoadResource __carbon_LoadResource 45 #define CompareString __carbon_CompareString 46 #define GetCurrentThread __carbon_GetCurrentThread 47 @@ -62,6 +63,7 @@ 48 49 #include <QuickTime/QuickTimeComponents.h> 50 63 51 +#undef BOOL 64 #include <dlfcn.h> 65 #include "IMKClient.h" 52 #undef LoadResource 53 #undef CompareString 54 #undef GetCurrentThread 55 --- dlls/wineqtdecoder/qtsplitter.c.orig 2012-02-13 00:19:05.000000000 -0800 56 +++ dlls/wineqtdecoder/qtsplitter.c 2012-02-13 00:19:26.000000000 -0800 57 @@ -23,6 +23,7 @@ 58 #define ULONG CoreFoundation_ULONG 59 #define HRESULT CoreFoundation_HRESULT 66 60 67 --- dlls/wineqtdecoder/qtvdecoder.c.orig 2012-02-13 14:36:12.000000000 -0800 68 +++ dlls/wineqtdecoder/qtvdecoder.c 2012-02-13 14:36:46.000000000 -0800 69 @@ -22,6 +22,7 @@ 61 +#define BOOL __carbon_BOOL 62 #define LoadResource __carbon_LoadResource 63 #define CompareString __carbon_CompareString 64 #define GetCurrentThread __carbon_GetCurrentThread 65 @@ -63,6 +64,7 @@ 66 #include <QuickTime/Movies.h> 67 #include <QuickTime/QuickTimeComponents.h> 70 68 69 +#undef BOOL 70 #undef LoadResource 71 #undef CompareString 72 #undef GetCurrentThread 73 --- dlls/wineqtdecoder/qtutils.c.orig 2012-02-13 00:31:37.000000000 -0800 74 +++ dlls/wineqtdecoder/qtutils.c 2012-02-13 00:32:14.000000000 -0800 75 @@ -23,6 +23,7 @@ 71 76 #define ULONG CoreFoundation_ULONG 72 77 #define HRESULT CoreFoundation_HRESULT 73 +#define BOOL CoreFoundation_BOOL74 78 79 +#define BOOL __carbon_BOOL 75 80 #define LoadResource __carbon_LoadResource 76 81 #define CompareString __carbon_CompareString 77 @@ -103,6 +104,8 @@ 82 #define GetCurrentThread __carbon_GetCurrentThread 83 @@ -62,6 +63,7 @@ 78 84 79 # undef ULONG80 #undef HRESULT85 #include <CoreVideo/CVPixelBuffer.h> 86 81 87 +#undef BOOL 82 + 83 #undef DPRINTF 84 #undef STDMETHODCALLTYPE 88 #undef LoadResource 89 #undef CompareString 90 #undef GetCurrentThread 91 --- dlls/wineqtdecoder/qtvdecoder.c.orig 2012-02-13 00:31:42.000000000 -0800 92 +++ dlls/wineqtdecoder/qtvdecoder.c 2012-02-13 00:32:30.000000000 -0800 93 @@ -23,6 +23,7 @@ 94 #define ULONG CoreFoundation_ULONG 95 #define HRESULT CoreFoundation_HRESULT 85 96 97 +#define BOOL __carbon_BOOL 98 #define LoadResource __carbon_LoadResource 99 #define CompareString __carbon_CompareString 100 #define GetCurrentThread __carbon_GetCurrentThread 101 @@ -63,6 +64,7 @@ 102 #include <QuickTime/ImageCompression.h> 103 #include <CoreVideo/CVPixelBuffer.h> 104 105 +#undef BOOL 106 #undef LoadResource 107 #undef CompareString 108 #undef GetCurrentThread 109 --- dlls/dinput/joystick_osx.c.orig 2012-02-13 11:58:52.000000000 -0800 110 +++ dlls/dinput/joystick_osx.c 2012-02-13 11:59:09.000000000 -0800 111 @@ -24,6 +24,7 @@ 112 #include "wine/port.h" 113 114 #if defined(HAVE_IOKIT_HID_IOHIDLIB_H) 115 +#define BOOL __carbon_BOOL 116 #define ULONG __carbon_ULONG 117 #define E_INVALIDARG __carbon_E_INVALIDARG 118 #define E_OUTOFMEMORY __carbon_E_OUTOFMEMORY 119 @@ -45,6 +46,7 @@ 120 #define HRESULT __carbon_HRESULT 121 #define STDMETHODCALLTYPE __carbon_STDMETHODCALLTYPE 122 #include <IOKit/hid/IOHIDLib.h> 123 +#undef BOOL 124 #undef ULONG 125 #undef E_INVALIDARG 126 #undef E_OUTOFMEMORY -
files/sl-audio.patch
1 --- dlls/winecoreaudio.drv/audio.c.orig 2010-07-27 14:56:49.000000000 -05002 +++ dlls/winecoreaudio.drv/audio.c 2010-09-16 12:33:09.000000000 -05003 @@ -56,7 +56,6 @@4 #include "wine/unicode.h"5 #include "wine/library.h"6 #include "wine/debug.h"7 -#include "wine/list.h"8 9 WINE_DEFAULT_DEBUG_CHANNEL(wave);10 11 @@ -64,6 +63,12 @@12 13 WINE_DECLARE_DEBUG_CHANNEL(coreaudio);14 15 +/* This needs to be after CoreAudio/CoreAudio.h because16 + * CoreAudio includes sys/queue.h which has namespace conflicts17 + * with wine/list.h18 + */19 +#include "wine/list.h"20 +21 /*22 Due to AudioUnit headers conflict define some needed types.23 */ -
Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 6 7 7 8 name wine-crossover 8 9 conflicts wine wine-devel wine-crossover-games 9 version 1 0.1.010 version 11.0.0 10 11 license LGPL-2.1+ 11 12 categories x11 12 13 maintainers jeremyhu openmaintainer … … 15 16 distname crossover-sources-${version} 16 17 dist_subdir wine 17 18 set wine_distfile [suffix ${distname}] 18 set wine_gecko_distfile wine_gecko-1.2.0-x86.msi 19 distfiles ${wine_distfile} ${wine_gecko_distfile} 19 set wine_gecko_version 1.4 20 set wine_gecko_distfile wine_gecko-${wine_gecko_version}-x86.msi 21 distfiles ${wine_distfile}:winesource ${wine_gecko_distfile}:winegecko 20 22 extract.only ${wine_distfile} 21 23 worksrcdir wine 22 24 build.target depend all … … 24 26 25 27 minimum_xcodeversions {8 2.5} 26 28 27 description Wine Is Not an Emulator (1. 3.9with CodeWeavers modifications for CrossOver)29 description Wine Is Not an Emulator (1.4-rc5 with CodeWeavers modifications for CrossOver) 28 30 29 31 long_description Wine is an implementation of the Windows APIs on top of X11. \ 30 32 This version contains the Codeweavers patches for CrossOver 31 33 32 master_sites http://media.codeweavers.com/pub/crossover/source/ \ 33 http://media.codeweavers.com/pub/crossover/source/archive/${version}/ 34 master_sites http://media.codeweavers.com/pub/crossover/source/:winesource \ 35 http://media.codeweavers.com/pub/crossover/source/archive/${version}/:winesource \ 36 sourceforge:project/wine/Wine%20Gecko/${wine_gecko_version}:winegecko 34 37 35 38 checksums ${wine_distfile} \ 36 rmd160 ff68078e199337c063f7a306d4af9cb710fee39e\37 sha256 b61721ffd06a649846f5afc45b5a2e0e4f533bbb19250539cdeef4035ab52067 \39 rmd160 38e4db61b6f3270f429a049d0d21502709265f98 \ 40 sha256 3a068f9b46feb0bbc0e87a59d294021c494da62f601375a53582f33c95129d57 \ 38 41 ${wine_gecko_distfile} \ 39 rmd160 0 89447eb59eea81c7b1b3d1896a20fe68586cd96\40 sha256 d6ccdb32b5867df207c7cd89513297ceb89cfa93696bece470467845c6c4d3ee42 rmd160 02363538a77a954f2bf1014b28ec1ed8fe2d1b6e \ 43 sha256 b30e0ac29a91a6fc40c73b5b760a56360a1d5323282545e32efaa40c75d8986d 41 44 42 45 # Note: Most of the X11 libs are dlopen()'d 43 46 depends_lib port:expat \ 44 47 port:fontconfig \ 45 48 port:freetype \ 49 port:gstreamer \ 50 port:gst-plugins-base \ 46 51 port:jpeg \ 47 52 port:lcms \ 48 53 port:libiconv \ … … 86 91 lib/libXrender.dylib \ 87 92 lib/libGL.dylib 88 93 89 depends_build port:flex \ 94 depends_build port:bison \ 95 port:flex \ 90 96 port:pkgconfig 91 97 92 98 # Extract only the wine directory. We don't need the others, and their presence 93 99 # interferes with the wine build (which uses parts of them if present). 94 100 extract.post_args-append wine 95 101 96 patchfiles sl-audio.patchno-quartz-wm-workaround.patch BOOL.patch102 patchfiles no-quartz-wm-workaround.patch BOOL.patch 97 103 98 104 configure.ldflags-append -framework CoreServices \ 99 105 -lz