[MacPorts] #67209: vim @9.0.1276: builds fail for macOS releases 10.10 and earlier: os_macosx.m

MacPorts noreply at macports.org
Sat Jul 5 13:47:08 UTC 2025


#67209: vim @9.0.1276: builds fail for macOS releases 10.10 and earlier:
os_macosx.m
--------------------------+----------------------
  Reporter:  0xdd-co      |      Owner:  raimue
      Type:  defect       |     Status:  reopened
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  vim, MacVim  |
--------------------------+----------------------

Comment (by i3roly):

 this ticket should be closed, shouldn't it?

 in any case, i noticed that vim doesn't build on 10.6 so i'll try to look
 into it later.

 it's something to do with this:

 {{{
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_vim/vim/work/vim-9.1.1128/src/po'
 os_macosx.m:389:8: error: type arguments cannot be applied to non-
 parameterized class 'NSMutableDictionary'
 static NSMutableDictionary<NSNumber*, NSSound*> *sounds_list = nil;
        ^                  ~~~~~~~~~~~~~~~~~~~~~
 os_macosx.m:466:22: error: type arguments cannot be applied to non-
 parameterized class 'NSMutableDictionary'
             sounds_list = [[NSMutableDictionary<NSNumber*, NSSound*>
 alloc] init];
                             ^                  ~~~~~~~~~~~~~~~~~~~~~
 os_macosx.m:468:2: error: expected method to write dictionary element not
 found on object of type 'NSMutableDictionary *'
         sounds_list[[NSNumber numberWithLong:sound_id]] = sound;
         ^
 os_macosx.m:485:19: error: expected method to read dictionary element not
 found on object of type 'NSMutableDictionary *'
         NSSound *sound = sounds_list[[NSNumber numberWithLong:sound_id]];
                          ^
 4 errors generated.
 make[1]: *** [objects/os_macosx.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_vim/vim/work/vim-9.1.1128/src'

 }}}

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


More information about the macports-tickets mailing list