maintainer-approval requested: [Bug 285401] x11/libxkbcommon: after recent updates to 1.8.0 and 1.8.1 several ports may need a PORTREVISION bump : [Attachment 258810] [patch] fix libxkbcommon version-script test for freebsd (v2: use -shared for ver script test)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
John Hein <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-approval:
Bug 285401: x11/libxkbcommon: after recent updates to 1.8.0 and 1.8.1 several
ports may need a PORTREVISION bump
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285401

Attachment 258810: [patch] fix libxkbcommon version-script test for freebsd
(v2: use -shared for ver script test)
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258810&action=edit



--- Comment #46 from John Hein <[email protected]> ---
Created attachment 258810
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258810&action=edit
[patch] fix libxkbcommon version-script test for freebsd (v2: use -shared for
ver script test)

I know that bapt@ has said that this should be fixed in the toolchain, but here
is a simple fix that can be applied (locally if need be) while people wait for
the toolchain fix.

And it is simpler than singling out freebsd-specific symbols (as in the
previous patch from comment 39).  It performs the version script test by
generating a shared object rather than an executable image (the second option
tijl@ mentioned in comment 30).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.