[MacPorts] #56247: jack @1.9.12: fatal error: 'MacTypes.h' file not found

MacPorts noreply at macports.org
Sun Apr 8 16:23:00 UTC 2018


#56247: jack @1.9.12: fatal error: 'MacTypes.h' file not found
---------------------+--------------------
  Reporter:  iEFdev  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.2
Resolution:          |   Keywords:  lion
      Port:  jack    |
---------------------+--------------------

Comment (by iEFdev):

 Replying to [comment:8 neverpanic]:
 > OK, so now I'd only need to know when MacTypes.h started appearing on
 newer systems. If you can figure this out for me, I'll commit the patch.

 Not sure, but it looks like 10.8 from a page I found here:
 https://developer.apple.com/library/content/releasenotes/General/CarbonCoreDeprecations/#//apple_ref/doc/uid/TP40012224-CH1-SW22

 It's all about 10.8, updated in 2012, and about `MacTypes.h` it says:

 > // If you need to include this header file for compatibility with legacy
 code, use `/usr/include/MacTypes.h` instead.

 So maybe:
 {{{
 set check.os.major 12
 if {${check.os.major} < ${os.major}} {
     patchfiles    MacTypes.diff
 }
 }}}


 I tried to use the patch but it did work (using the “files” dir). I made
 one from my own changes that did, incase you want it.

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


More information about the macports-tickets mailing list