[MacPorts] #66151: vte-0.56.4 fails to compile on macOS 13 arm64

MacPorts noreply at macports.org
Mon Feb 13 12:34:35 UTC 2023


#66151: vte-0.56.4 fails to compile on macOS 13 arm64
-------------------------+----------------------
  Reporter:  miklosakos  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  vte         |
-------------------------+----------------------

Comment (by fabianwenk):

 Replying to [comment:10 hexane360]:

 > I've found a solution. The following patch fixes the problem in
 src/vtetypebuiltins.cc.template:

 Thanks, that solved it also on my system. virt-manager is working again,
 but the behavior with mouse clicks in the menus option works only
 randomly. But as soon as e.g. "File" is selected, the cursor keys can be
 used to scroll through the menu option and enter to select.

 > All it needs is logic to patch only on Ventura and higher, and then it
 can be merged.

 I tried this based on https://guide.macports.org/#reference and it seems
 to work. Maybe it could be done nicer without duplicating the patch files
 list.

 {{{
 --- Portfile.orig       2022-08-04 15:43:02
 +++ Portfile    2023-02-13 13:21:04
 @@ -45,9 +45,17 @@

  gobject_introspection yes

 +if {${macos_version_major} < 13} {
  patchfiles          patch-src-pty.cc.diff \
                      patch-src-vteutils.cc.diff \
                      patch-vte-gsize.diff
 +}
 +if {${macos_version_major} == 13} {
 +patchfiles          patch-src-pty.cc.diff \
 +                    patch-src-vtetypebuiltins.cc.template.diff \
 +                    patch-src-vteutils.cc.diff \
 +                    patch-vte-gsize.diff
 +}

  # reconfigure using upstream autogen.sh for intltool 0.51 compatibility


 }}}

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


More information about the macports-tickets mailing list