[MacPorts] #69471: gtk2 @2.24.33_3+quartz fails to build: incompatible function pointer types

MacPorts noreply at macports.org
Mon Mar 11 21:50:36 UTC 2024


#69471: gtk2 @2.24.33_3+quartz fails to build: incompatible function pointer types
------------------------+----------------------
  Reporter:  DrLex0     |      Owner:  mascguy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:             |   Keywords:
      Port:  gtk2 gimp  |
------------------------+----------------------

Comment (by DrLex0):

 Replying to [comment:8 kencu]:
 > would you be able to point to the branch where you are finding the newer
 commits to gtk2?
 >
 > macports is building the latest release, and I'm having trouble spotting
 the development branch of gtk2 on the gnome website anywhere to look at
 what they have done since the release..
 >
 > I also patched gtk2 with some slightly different patches than what you
 describe, to the same end result. (And I see the m4 nuisance as well).

 I wildly googled around and stumbled upon this:
 https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkscale.c
 Curiously, the
 [https://gitlab.gnome.org/GNOME/gtk/-/commit/345d865ac6b2f7760503ab144dd68e6062438b80
 commit] that removed the `(GCompareFunc)` cast was 12 years ago. Line
 numbers are also totally different. I guess this is gtk3 source, and this
 change may not have been applied in gtk2.

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


More information about the macports-tickets mailing list