commit:     3a46c7be2c13af94a54ec6018b5995732b0e779a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 22:07:00 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 22:07:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a46c7be

media-libs/libsdl2: Require USE=joystick when USE=haptic

Otherwise you get an undefined reference.

Bug: https://bugs.gentoo.org/814332
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/libsdl2/libsdl2-2.0.16.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/libsdl2/libsdl2-2.0.16.ebuild 
b/media-libs/libsdl2/libsdl2-2.0.16.ebuild
index 1b9c8bdf53b..22f5c70e7e0 100644
--- a/media-libs/libsdl2/libsdl2-2.0.16.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.16.ebuild
@@ -20,6 +20,7 @@ REQUIRED_USE="
        fcitx4? ( dbus )
        gles1? ( video )
        gles2? ( video )
+       haptic? ( joystick )
        ibus? ( dbus )
        jack? ( sound )
        nas? ( sound )

Reply via email to