Opened 8 years ago

Last modified 8 years ago

#52754 closed defect

libsdl2 @2.0.5: missing x11 library dependencies cause opportunistic linking and varying amounts of functionality for +x11 variant. — at Initial Version

Reported by: dbevans (David B. Evans) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: liibsdl2

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.

Change History (1)

Changed 8 years ago by dbevans (David B. Evans)

Attachment: libsdl2-x11deps.patch added

Proposed patch to add missing dependencies, rev bump

Note: See TracTickets for help on using tickets.