Ticket #65354: Portfile-safeAreaInsets.diff

File Portfile-safeAreaInsets.diff, 1.2 KB (added by Gandoon (Erik Hedlund), 23 months ago)

Portfile patch – applies the source code patch for systems older than MacOS 11 (could be amended to do that for MacOS 11 as well)

  • Portfile

    old new  
    44PortGroup           github 1.0
    55PortGroup           xcodeversion 1.0
    66
    7 
    8 if {${os.major} > 17} {
     7if {${os.major} > 19} {
    98    version             3.4.15
    109    revision            3
    1110    checksums           rmd160  a5319483e324f6408952d6db41a45860bd90cb20 \
     
    1413    patchfiles          patch-Makefile-XC10.diff \
    1514                        patch-remove-sparkle-3.4.diff \
    1615                        patch-nsur.diff
     16} elseif {${os.major} > 17} {
     17    # For at least up to MacOS 10.15 (os.major 19) safeAreaInsets breaks the build of 3.4.15. Patch fixes this.
     18    version             3.4.15
     19    revision            3
     20    checksums           rmd160  a5319483e324f6408952d6db41a45860bd90cb20 \
     21                        sha256  2348fa198a36cd003a124573cb547f2da8266252479db70e60e17cdcfe32d89d \
     22                        size    29047663
     23    patchfiles          patch-Makefile-XC10.diff \
     24                        patch-remove-sparkle-3.4.diff \
     25                        patch-nsur.diff \
     26                        patch-safeAreaInsets-fix.diff
    1727} elseif {${os.major} > 16} {
    1828    version             3.3.12
    1929    revision            2