ports/64825: [PATCH] multimedia/ffmpeg: [Fix build on i386 5.2-CURRENT]

mike johnson ahze at ahze.net
Sun Mar 28 04:40:11 UTC 2004


>Number:         64825
>Category:       ports
>Synopsis:       [PATCH] multimedia/ffmpeg: [Fix build on i386 5.2-CURRENT]
>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 Mar 27 20:40:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     mike johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #38: Sat Mar 27 18:30:44 EST 2004
>Description:
fix build on i386 5.2-CURRNET when WITH_OPTIMIZED_CFLAGS is NOT defined

Port maintainer (lioux at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- ffmpeg-0.4.8_5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/freebsd/ports/multimedia/ffmpeg/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile	21 Mar 2004 01:32:37 -0000	1.38
+++ Makefile	28 Mar 2004 04:20:50 -0000
@@ -56,8 +56,8 @@
 EXTRA_PATCHES+=	${FILESDIR}/extra-bktr-patch-libavformat::Makefile
 .endif
 
-.if ${ARCH} == "i386" && ${OSVERSION} > 502104
-BROKEN=		"Does not compile on i386 5.x"
+.if (${ARCH} == "i386" && ${OSVERSION} > 502104) && !defined(WITH_OPTIMIZED_CFLAGS)
+CONFIGURE_ARGS+= --extra-cflags="-fomit-frame-pointer"
 .endif
 
 ## lib detection
--- ffmpeg-0.4.8_5.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list