Patchwork [2/2] mplayer: Only enable IPv6 if BR2_INET_IPV6 is set

login
register
mail settings
Submitter Valentine Barshak
Date Sept. 28, 2012, 7:19 p.m.
Message ID <20120928191948.GA9864@gmail.com>
Download mbox | patch
Permalink /patch/187890/
State Accepted
Commit 2ba4eedeee5342799c15207a64fe1a147c2cb020
Headers show

Comments

Valentine Barshak - Sept. 28, 2012, 7:19 p.m.
This fixes false positive IPv6 detection.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
---
 package/multimedia/mplayer/mplayer.mk | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index 788beeb..1a6b14f 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -138,6 +138,9 @@  define MPLAYER_FIXUP_IPV6_MREQ_DETECTION
 endef
 
 MPLAYER_POST_CONFIGURE_HOOKS += MPLAYER_FIXUP_IPV6_MREQ_DETECTION
+MPLAYER_CONF_OPTS += --disable-inet6
+else
+MPLAYER_CONF_OPTS += --enable-inet6
 endif
 
 define MPLAYER_BUILD_CMDS