[MacPorts] #68148: libgit2 @1.7.1: builds fail with xcode clang 6 and earlier: error: unknown type name 'inline', from legacy-support header 'dirent.h'

MacPorts noreply at macports.org
Tue Sep 12 15:21:39 UTC 2023


#68148: libgit2 @1.7.1: builds fail with xcode clang 6 and earlier: error: unknown
type name 'inline', from legacy-support header 'dirent.h'
----------------------+---------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:  fixed    |   Keywords:
      Port:  libgit2  |
----------------------+---------------------

Comment (by mascguy):

 Replying to [comment:8 jmroot]:
 > In [changeset:"b7c964f912ecc7d86c462186cb768e0ea6acceda/macports-legacy-
 support" b7c964f912ecc7d86c462186cb768e0ea6acceda/macports-legacy-support]
 (master):
 > {{{
 > Use __inline__ in public headers
 >
 > These may be included by C89 code where the inline keyword is not
 available.
 > }}}

 Beautiful, thanks Josh!

 Once a new version of `legacy-support` has been released, I'll revert the
 C 99 patch for `libgit2`.

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


More information about the macports-tickets mailing list