[MacPorts] #52754: libsdl2 @2.0.5: missing x11 library dependencies cause opportunistic linking and varying amounts of functionality for +x11 variant.
#52754: libsdl2 @2.0.5: missing x11 library dependencies cause opportunistic linking and varying amounts of functionality for +x11 variant. ----------------------+---------------------- Reporter: dbevans | Owner: jmroot Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: liibsdl2 ----------------------+---------------------- When building with the +x11 variant, libsdl2 has a list of X11 libraries that it will look for a configure time and enable or disable functionality depending on the results. This results in opportunistic link with libraries that are not listed as dependencies in the port, and variable functionality based on what is, or is not present. From a review of configure.in here is the list of ports that should be added in addition to the current ones as dependencies for the +x11 variant: * xorg-libX11 (previously implied, now explicit) * xorg-libXcursor * xorg-libXi * xorg-libXinerama * xorg-libXScrnSaver * xorg-libXxf86vm Patch attached with rev bump to ensure all have the same set of functionality. -- Ticket URL: <https://trac.macports.org/ticket/52754> MacPorts <https://www.macports.org/> Ports system for OS X
#52754: libsdl2 @2.0.5: missing x11 library dependencies cause opportunistic linking and varying amounts of functionality for +x11 variant. -----------------------+---------------------- Reporter: dbevans | Owner: jmroot Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: liibsdl2 | -----------------------+---------------------- Changes (by dbevans): * Attachment "libsdl2-x11deps.patch" added. Proposed patch to add missing dependencies, rev bump -- Ticket URL: <https://trac.macports.org/ticket/52754> MacPorts <https://www.macports.org/> Ports system for OS X
#52754: libsdl2 @2.0.5: missing x11 library dependencies cause opportunistic linking and varying amounts of functionality for +x11 variant. -----------------------+---------------------- Reporter: dbevans | Owner: jmroot Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: liibsdl2 | -----------------------+---------------------- Description changed by dbevans: Old description:
When building with the +x11 variant, libsdl2 has a list of X11 libraries that it will look for a configure time and enable or disable functionality depending on the results. This results in opportunistic link with libraries that are not listed as dependencies in the port, and variable functionality based on what is, or is not present.
From a review of configure.in here is the list of ports that should be added in addition to the current ones as dependencies for the +x11 variant:
* xorg-libX11 (previously implied, now explicit) * xorg-libXcursor * xorg-libXi * xorg-libXinerama * xorg-libXScrnSaver * xorg-libXxf86vm
Patch attached with rev bump to ensure all have the same set of functionality.
New description: When building with the +x11 variant, libsdl2 has a list of X11 libraries that it will look for at configure time and enable or disable functionality depending on the results. This results in opportunistic linking with libraries that were not listed as dependencies in the port, and variable functionality based on what is, or is not present. From a review of configure.in here is the list of ports that should be added in addition to the current ones as dependencies for the +x11 variant: * xorg-libX11 (previously implied, now explicit) * xorg-libXcursor * xorg-libXi * xorg-libXinerama * xorg-libXScrnSaver * xorg-libXxf86vm Patch attached with rev bump to ensure all have the same set of functionality. -- -- Ticket URL: <https://trac.macports.org/ticket/52754#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts