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 Version 1

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

Description (last modified by dbevans (David B. Evans))

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.

Change History (2)

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

Attachment: libsdl2-x11deps.patch added

Proposed patch to add missing dependencies, rev bump

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.