[MacPorts] #60121: git-lfs @2.10.0 build cannot find <sys/clonefile.h> on macOS 10.11

MacPorts noreply at macports.org
Sun Feb 23 17:38:36 UTC 2020


#60121: git-lfs @2.10.0 build cannot find <sys/clonefile.h> on macOS 10.11
------------------------+-----------------------
  Reporter:  snowflake  |      Owner:  raimue
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.99
Resolution:  fixed      |   Keywords:  legacy-os
      Port:  git-lfs    |
------------------------+-----------------------

Comment (by kencu):

 looks ike it is optionally used if available. <https://github.com/git-lfs
 /git-lfs/pull/3745/files?>.

 So the Mac way would be to build it against a newer sdk. Alternatively you
 could patch it to disable the function if the header doesn't exist.

 Adding the function to legacysupport doesn't seem possible as it is an
 apsf-specific feature, but it's conceivable a non-destructive similar
 replacement might be found, like using copyfile instead perhaps.

-- 
Ticket URL: <https://trac.macports.org/ticket/60121#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list