ports/126261: multimedia/ffmpeg needs compile with --enable-swscale
Veselin Slavov
vess at slavof.net
Tue Aug 5 07:00:07 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list