media-sound/teamspeak-client: add workaround for Qt 5.12
authorDenis Lisov <dennis.lissov@gmail.com>
Mon, 8 Apr 2019 21:27:09 +0000 (00:27 +0300)
committerMichał Górny <mgorny@gentoo.org>
Tue, 30 Apr 2019 16:49:35 +0000 (18:49 +0200)
commit378f1d8be411fc8f8a6dba202813c8f565a9dca0
treef9b6c1c1874739a0f22cefe756ddccbbbe9acf87
parent86dcc865ba4045244375de9c7dcf9ea96841d048
media-sound/teamspeak-client: add workaround for Qt 5.12

QtWebEngine versions before 5.12 used to reexport a few symbols like
calloc with version Qt_5 that were exported by mistake once. These are
no longer exported in 5.12 (probably a Qt bug), and teamspeak-client
does not officially support it (only the bundled QtWebEngine 5.6.1 is
supported).

Add a `overrides.so` shared library that reexports them by taking this
code from Qt under (L)GPL and preload it using LD_PRELOAD to make the
symbols available.

Closes: https://bugs.gentoo.org/675874
Signed-off-by: Denis Lisov <dennis.lissov@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-sound/teamspeak-client/files/teamspeak-client-3.2.3-qt-5.12-symbol-reexports.patch [new file with mode: 0644]
media-sound/teamspeak-client/files/ts3client-bin-r1 [new file with mode: 0644]
media-sound/teamspeak-client/teamspeak-client-3.2.3-r2.ebuild [new file with mode: 0644]