[MacPorts] #71649: xorg-server-legacy fails to build with mesa @24.3.2: error: redefinition of typedef 'GLsync'
MacPorts
noreply at macports.org
Sat Jan 11 09:07:21 UTC 2025
#71649: xorg-server-legacy fails to build with mesa @24.3.2: error: redefinition of
typedef 'GLsync'
---------------------------------------+----------------------
Reporter: barracuda156 | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: xorg-server-legacy, mesa |
---------------------------------------+----------------------
Comment (by kencu):
Fixing the build of xorg-server-legacy to build with the newer gcc
versions would have been a much better approach than bugging mesa to
remove the typedef from just one of the very many header files where it is
typedeffed so that you could force the port to build with gcc-4.2.
The patch to do that was already committed to xorg-server trunk several
years ago, and is here:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1256
https://gitlab.freedesktop.org/ofourdan/xserver/-/commit/53173fdab492f0f638f6616fcf01af0b9ea6338d
--
Ticket URL: <https://trac.macports.org/ticket/71649#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list