Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656904 - media-libs/mlt-6.6.0: USE=sdl broken with USE=sdl2
Summary: media-libs/mlt-6.6.0: USE=sdl broken with USE=sdl2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-30 14:45 UTC by Luke-Jr
Modified: 2018-07-22 21:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2018-05-30 14:45:31 UTC
If both sdl and sdl2 USE flags are set, MLT builds both the sdl and sdl2 consumers. However, SDL 1 and SDL 2 have overlapping symbols, causing the sdl consumer to crash because SDL 1 ends up calling SDL_Init from SDL 2, which doesn't provide the initialisation expected by SDL 1.
Comment 1 Larry the Git Cow gentoo-dev 2018-07-22 21:50:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a044a48adad0837c64c527504135fc2b08be7218

commit a044a48adad0837c64c527504135fc2b08be7218
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-07-22 20:55:19 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-22 21:49:17 +0000

    media-libs/mlt: 6.6.0: USE=sdl2 switches to libsdl2 instead-of libsdl
    
    Next version bump should drop sdl.
    
    Closes: https://bugs.gentoo.org/656904
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/mlt/mlt-6.6.0-r1.ebuild | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)