Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2010 18:20:03 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151508: multimedia/ffmpeg: explicitly disable alsa
Message-ID:  <201010161820.o9GIK3QS083215@www.freebsd.org>
Resent-Message-ID: <201010161820.o9GIK9xm014397@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151508
>Category:       ports
>Synopsis:       multimedia/ffmpeg: explicitly disable alsa
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 16 18:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.1-STABLE FreeBSD 8.1-STABLE #10: Tue Aug 31 10:36:57 MSD 2010     root@luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA  amd64
>Description:
Explicitly disable alsa support to avoid linking with libasound, when audio/alsa-lib is installed.

multimedia/ffmpeg-devel may require the fix too.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/ffmpeg/Makefile,v
retrieving revision 1.115
diff -u -r1.115 Makefile
--- Makefile	11 Oct 2010 13:51:28 -0000	1.115
+++ Makefile	16 Oct 2010 18:09:42 -0000
@@ -89,7 +89,9 @@
 		--extra-cflags="${FFMPEG_CFLAGS} -I${LOCALBASE}/include" \
 		--extra-ldflags="-L${LOCALBASE}/lib ${FFMPEG_LDFLAGS}" \
 		--extra-libs="${PTHREAD_LIBS}" \
-		--disable-debug
+		--disable-debug \
+		--disable-indev=alsa \
+		--disable-outdev=alsa
 SHLIB_VER=	1
 PLIST_SUB=	SHLIB_VER=${SHLIB_VER}
 USE_LDCONFIG=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010161820.o9GIK3QS083215>