[MacPorts] #65506: glfw @3.3.7 fails to build on 10.7 and 10.8

MacPorts noreply at macports.org
Tue Jul 19 05:56:59 UTC 2022


#65506: glfw @3.3.7 fails to build on 10.7 and 10.8
-------------------------------+-----------------------
 Reporter:  jmroot             |      Owner:  michaelld
     Type:  defect             |     Status:  assigned
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.7.2
 Keywords:  lion mountainlion  |       Port:  glfw
-------------------------------+-----------------------
 The error on 10.8 is
 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_glfw/glfw/work/glfw-3.3.7/src/cocoa_window.m:328:46:
 error: use of undeclared identifier 'NSWindowOcclusionStateVisible'
     if ([window->ns.object occlusionState] &
 NSWindowOcclusionStateVisible)
                                              ^
 }}}
 on 10.7:
 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_glfw/glfw/work/glfw-3.3.7/src/cocoa_init.m:92:19:
 error: expected method to read dictionary element not found on object of
 type 'NSDictionary *'
         id name = bundleInfo[nameKeys[i]];
                   ^
 }}}
 These platforms might need to use an older version similar to what is done
 for 10.6.

-- 
Ticket URL: <https://trac.macports.org/ticket/65506>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list