Date: Tue, 5 Aug 2008 06:56:57 GMT From: Veselin Slavov <vess@slavof.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/126261: multimedia/ffmpeg needs compile with --enable-swscale Message-ID: <200808050656.m756uv7B034662@www.freebsd.org> Resent-Message-ID: <200808050700.m75707g5002510@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126261 >Category: ports >Synopsis: multimedia/ffmpeg needs compile with --enable-swscale >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 05 07:00:07 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Veselin Slavov >Release: FreeBSD 7.0-STABLE >Organization: >Environment: FreeBSD server.slavof.net 7.0-STABLE FreeBSD 7.0-STABLE #7: Fri Jul 11 17:21:05 EEST 2008 vess@server.slavof.net:/usr/obj/usr/src/sys/server i386 >Description: When use avcodec.h and some scaling functions there are error message in compilation process ("Use the software scaler (swscale) instead"). If read avcodec.h there are many deprecated declarations - for compatibility needs enable swscale. >How-To-Repeat: Download this project of new freebsd port and try to compile (it is in development state). http://matrix.gatewaynet.com/panix/zoneminder.tar.gz >Fix: Patch attached with submission follows: --- /usr/ports/multimedia/ffmpeg/Makefile.orig 2008-08-05 09:36:06.000000000 +0300 +++ /usr/ports/multimedia/ffmpeg/Makefile 2008-08-05 09:36:57.000000000 +0300 @@ -58,7 +58,8 @@ libavutil/mem.h \ libavutil/random.h \ libavutil/rational.h \ - libavutil/sha1.h + libavutil/sha1.h \ + libswscale/swscale.h .include <bsd.port.pre.mk> @@ -72,7 +73,8 @@ --extra-libs="${PTHREAD_LIBS}" \ --enable-gpl \ --enable-pthreads \ - --mandir=${PREFIX}/man + --mandir=${PREFIX}/man \ + --enable-swscale CONFIGURE_ENV+= LANG=C MAKE_ENV+= INSTALL="${INSTALL}" SHLIB_VER= 1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808050656.m756uv7B034662>