[MacPorts] #67263: supertuxkart @1.4: builds fail for 10.12 and earlier: IOSurface/IOSurfaceRef.h not found

MacPorts noreply at macports.org
Tue Apr 18 23:21:03 UTC 2023


#67263: supertuxkart @1.4: builds fail for 10.12 and earlier:
IOSurface/IOSurfaceRef.h not found
---------------------------+--------------------
  Reporter:  mascguy       |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  supertuxkart  |
---------------------------+--------------------

Comment (by ryandesign):

 Checking on 10.6, there is no IOSurfaceRef.h in the IOSurface framework.

 Generally, one uses a framework by including its main header, e.g.
 `#include <IOSurface/IOSurface.h>`. That in turn might include other
 headers of that framework, which might change from release to release.

 https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/IncludingFrameworks.html:

 > When including framework header files, it is traditional to include only
 the master framework header file. The master header file is the header
 file whose name matches the name of the framework.

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


More information about the macports-tickets mailing list