ports/72773: [PATCH] multimedia/transcode: disable WITH_OPTIMIZED_CFLAGS when WITH_FFMPEG is used

Michael Johnson ahze at ahze.net
Sat Oct 16 23:20:03 UTC 2004


>Number:         72773
>Category:       ports
>Synopsis:       [PATCH] multimedia/transcode: disable WITH_OPTIMIZED_CFLAGS when WITH_FFMPEG is used
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 16 23:20:02 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA6 FreeBSD 5.3-BETA6 #67: Fri Oct  1 15:03:41 EDT
>Description:
- disable WITH_OPTIMIZED_CFLAGS when WITH_FFMPEG is used

Port maintainer (hendrik at scholz.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
(with a 5.x box with gcc3.4)
cd ports/multimedia/transcode;
make WITH_FFMPEG=yes WITH_OPTIMIZED_CFLAGS=yes 

/usr/local/libexec/ccache/cc -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/local/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -I/compat/linux/usr/include/divx -g -L/usr/local/lib -L/usr/X11R6/lib -o tcdecode tcdecode.o decode_ac3.o decode_mpeg2.o decode_yuv.o fileinfo.o ioaux.o decode_dv.o decode_mp3.o mpg123.o decode_a52.o decode_af6.o scan_dv.o decode_lavc.o decode_xvid.o decode_ogg.o decode_mov.o decode_lzo.o -L../ffmpeg/libavcodec -ltcavcodec -L/usr/local/lib/lib -lmp3lame -lm -L../libac3 -lac3_tc -L../libmpeg2 -lmpeg2cvs -L../libvo -lvout -L/usr/lib -ldv -pthread -L/usr/local/lib -lglib12 -lm -lvorbisfile -L/usr/lib -ltheora -logg -lm -L/usr/lib -lvorbis -lm -L/usr/lib -logg -lm -L/usr/lib -llzo -pthread -L/usr/local/lib -lglib12 -lm -lm -pthread 
../ffmpeg/libavcodec/libtcavcodec.a(dsputil_mmx.o)(.text+0x753e): In function `put_qpel8_mc01_3dnow':
i386/dsputil_mmx.c:1710: undefined reference to `ff_pw_20'
../ffmpeg/libavcodec/libtcavcodec.a(dsputil_mmx.o)(.text+0x7569):i386/dsputil_mmx.c:1710: undefined reference to `ff_pw_3'
../ffmpeg/libavcodec/libtcavcodec.a(dsputil_mmx.o)(.text+0x7587):i386/dsputil_mmx.c:1710: undefined reference to `ff_pw_20'
../ffmpeg/libavcodec/libtcavcodec.a(dsputil_mmx.o)(.text+0x75b1):i386/dsputil_mmx.c:1710: undefined reference to `ff_pw_3'

>Fix:

--- transcode-0.6.12_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/transcode/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- Makefile	11 Oct 2004 23:12:03 -0000	1.44
+++ Makefile	16 Oct 2004 23:02:02 -0000
@@ -339,7 +339,7 @@
 	@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${REINPLACE_CMD} \
 		-e 's|<stdint.h>|<inttypes.h>|'
 .endif
-.if !defined(WITH_OPTIMIZED_CFLAGS)
+.if !defined(WITH_OPTIMIZED_CFLAGS) || defined(WITH_FFMPEG)
 	@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${REINPLACE_CMD} \
 		-e 's|-O[236]|${CFLAGS}|'
 .endif
--- transcode-0.6.12_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list