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

MacPorts noreply at macports.org
Sat Apr 7 17:59:32 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 neverpanic):

 Can you try applying the following patch and see if that helps?

 {{{
 #!patch
 diff --git a/audio/jack/Portfile b/audio/jack/Portfile
 index b5a55dd07e..6eb76c2600 100644
 --- a/audio/jack/Portfile
 +++ b/audio/jack/Portfile
 @@ -24,6 +24,8 @@ long_description    \
      Through JACK, users are enabled to build powerful systems for signal
 \
      processing and music production.

 +patchfiles          mactypes.patch
 +
  depends_build-append \
                      port:pkgconfig
  depends_lib         port:libsamplerate \
 diff --git a/audio/jack/files/mactypes.patch
 b/audio/jack/files/mactypes.patch
 index e69de29bb2..e51be48ce0 100644
 --- a/audio/jack/files/mactypes.patch
 +++ b/audio/jack/files/mactypes.patch
 @@ -0,0 +1,22 @@
 +--- macosx/JackMachThread.h.orig       2018-04-07 19:51:15.000000000
 +0200
 ++++ macosx/JackMachThread.h    2018-04-07 19:52:10.000000000 +0200
 +@@ -70,7 +70,7 @@
 +
 + #include "JackPosixThread.h"
 + #ifndef MY_TARGET_OS_IPHONE
 +-#include <MacTypes.h>
 ++#include
 <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>
 + #endif
 +
 + #include <mach/thread_policy.h>
 +--- macosx/coremidi/JackCoreMidiUtil.h.orig    2018-04-07
 19:51:21.000000000 +0200
 ++++ macosx/coremidi/JackCoreMidiUtil.h 2018-04-07 19:52:21.000000000
 +0200
 +@@ -22,7 +22,7 @@
 +
 + #include <string>
 +
 +-#include <MacTypes.h>
 ++#include
 <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>
 +
 + namespace Jack {
 +
 }}}

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


More information about the macports-tickets mailing list