Ticket #40102: wine-crossover-13.0.0.diff

File wine-crossover-13.0.0.diff, 5.8 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

patch which does not build

  • 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
    12# $Id$
    23
    34PortSystem                  1.0
     5PortGroup                   compiler_blacklist_versions 1.0
    46
    57# Please keep the wine, wine-devel and wine-crossover ports as similar as possible.
    68
    79name                        wine-crossover
    810conflicts                   wine wine-devel
    9 version                     12.2.2
     11version                     13.0.0
    1012license                     LGPL-2.1+
    1113categories                  x11
    1214maintainers                 jeremyhu openmaintainer
     
    1517distname                    crossover-sources-${version}
    1618dist_subdir                 wine
    1719set wine_distfile           ${distname}${extract.suffix}
    18 set wine_gecko_version      1.8
     20set wine_gecko_version      2.24
    1921set wine_gecko_distfile     wine_gecko-${wine_gecko_version}-x86.msi
    2022distfiles                   ${wine_distfile}:winesource ${wine_gecko_distfile}:winegecko
    2123extract.only                ${wine_distfile}
     
    2325build.target                depend all
    2426use_parallel_build          yes
    2527
    26 description                 Wine Is Not an Emulator (1.5.15 with CodeWeavers modifications for CrossOver)
     28description                 Wine Is Not an Emulator (1.7.4 with CodeWeavers modifications for CrossOver)
    2729
    2830long_description            Wine is an implementation of the Windows APIs on top of X11. \
    2931                            This version contains the Codeweavers patches for CrossOver
     
    3234                            http://ftp.codeweavers.com/pub/crossover/source/archive/${version}/:winesource \
    3335                            sourceforge:project/wine/Wine%20Gecko/${wine_gecko_version}:winegecko
    3436
    35 checksums                   crossover-sources-12.2.2.tar.gz \
    36                             rmd160  5ddd12e9251646a2923a258ea03b9777a6efe4ab \
    37                             sha256  110378a4bc8420c84aed96e9e0ba7d5f495934126e3df224863f544708d97b2d \
    38                             wine_gecko-1.8-x86.msi \
    39                             rmd160  f7b86d2e5ff82bf345b2420c9a8e9cfbc3c9989c \
    40                             sha256  28f3b7e497e1f884a64b2d982b61dda3167efac4c843de198654a1c9144ff9dc
     37checksums                   ${wine_distfile} \
     38                            rmd160  db4dace01bd5eb01a6e496ff48e418d99996a7f1 \
     39                            sha256  54305a1509732ab20a49785c5e9055c126a6718b58c4c95197c505d5bb11f750 \
     40                            ${wine_gecko_distfile} \
     41                            rmd160  109014e52d056962350681fd9d8178969cff939d \
     42                            sha256  6e38acae87ea66e2c1e8f2f0afe88f89eed3e6e0b431cd3da38dea814b71202c
    4143
    4244# Note: Most of the X11 libs are dlopen()'d
    4345depends_lib                 port:expat \
     
    4648                            port:gstreamer010 \
    4749                            port:gstreamer010-gst-plugins-base \
    4850                            port:jpeg \
    49                             port:lcms \
     51                            port:lcms2 \
    5052                            port:libiconv \
    5153                            port:libpng \
    5254                            port:libxml2 \
    5355                            port:libxslt \
    5456                            port:ncurses \
    55                             port:openssl \
     57                            port:gnutls \
    5658                            port:tiff \
    5759                            port:zlib \
    5860                            port:xorg-libsm \
     
    7577
    7678patchfiles                  BOOL.patch \
    7779                            mach_machine.patch \
    78                             patch-dlls-winemac.drv-gdi.c.diff \
     80                            patch-freetype-2.5.1.diff \
    7981                            winedbg.patch
    8082
     83# rebuild configure after freetype 2.5.1 patch
     84use_autoreconf              yes
     85
    8186configure.ldflags-append    -framework CoreServices \
    82                             -framework Security \
    8387                            -lz
     88#                            -framework Security \
    8489
    8590configure.args              --without-alsa \
    8691                            --without-capi \
     
    9297                            --with-freetype \
    9398                            --without-gphoto \
    9499                            --with-glu \
    95                             --without-gnutls \
     100                            --with-gnutls \
    96101                            --without-gsm \
    97102                            --without-hal \
    98103                            --with-jpeg \
     
    100105                            --without-mpg123 \
    101106                            --without-openal \
    102107                            --with-opengl \
    103                             --with-openssl \
    104108                            --without-oss \
    105109                            --with-png \
    106110                            --with-pthread \
     
    124128# This is not 64-bit friendly yet
    125129supported_archs             i386
    126130
    127 # BUILD FIX TODO: llvm-gcc-4.2, clang
    128 # llvm-gcc does not respect force_align_arg_pointer
    129 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
    130 compiler.whitelist gcc-4.2 apple-gcc-4.2
     131# llvm-gcc-4.2 doesn't respect force_align_arg_pointer; wine builds but fails to run
     132# http://bugs.winehq.org/show_bug.cgi?id=28030
     133compiler.blacklist-append   llvm-gcc-4.2 macports-llvm-gcc-4.2
    131134
     135# clang < 3.1 fails to build wine with "error: invalid operand for instruction lretw"
     136# http://bugs.winehq.org/show_bug.cgi?id=32872
     137compiler.blacklist-append   {clang < 425} macports-clang-2.9 macports-clang-3.0
     138
    132139platform darwin {
    133140    if {${os.major} <= 9} {
    134141        # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."