Ticket #61482: mame-0.226.diff

File mame-0.226.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 4 years ago)

compiles but does not run

  • Portfile

     
    11# -*- 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
    22
    33PortSystem          1.0
     4PortGroup           compiler_blacklist_versions 1.0
    45PortGroup github    1.0
    56
    6 github.setup        mamedev mame 0206 mame
     7github.setup        mamedev mame 0226 mame
    78revision            0
    8 checksums           rmd160  d8d5a4bbd94a8f1bb980b0ff9e2b62ea9f29e58b \
    9                     sha256  8e4c04c724964ca0c22f65181a84261b01ca49f51f4266c084b2d6b5a81e1e8d \
    10                     size    145788806
     9checksums           rmd160  b9e4ae321b7673790d374c63bbe966d1502d6738 \
     10                    sha256  7c4c9ec232ba988e65fd29665c9b8e40b5ac3aa9f561eeb107cebbf08ba94baf \
     11                    size    196379874
    1112
    1213version             [string index ${github.version} 0].[string range ${github.version} 1 end]
    1314categories          emulators
     
    1516platforms           darwin
    1617license             GPL-2+
    1718homepage            https://www.mamedev.org
     19github.tarball_from archive
    1820
    1921description         Multiple Arcade Machine Emulator
    2022long_description    The purpose of MAME is to preserve decades of software history. As \
     
    4345
    4446use_configure       no
    4547
     48# https://github.com/mamedev/mame/issues/6004
     49compiler.blacklist  {clang < 1000}
    4650# https://github.com/mamedev/mame/issues/3788
    47 if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] < 0)} {
    48     configure.cxxflags-append -DMAME_DEVCB_GNUC_BROKEN_FRIEND
    49 }
     51# As long as we're blacklisting clangs from the affected Xcode versions,
     52# we don't need to add this flag.
     53#if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] < 0)} {
     54#    configure.cxxflags-append -DMAME_DEVCB_GNUC_BROKEN_FRIEND
     55#}
    5056
    5157compiler.cxx_standard   2014
    5258
     
    6975                    USE_SYSTEM_LIB_ZLIB=1 \
    7076                    VERBOSE=1
    7177
    72 if {$build_arch in {x86_64 ppc64}} {
     78if {$build_arch in [list arm64 x86_64 ppc64]} {
    7379    build.args-append   PTR64=1
    7480    set executable  mame64
    7581} else {