From nwhitehorn@anacreon.physics.wisc.edu  Mon Jun 28 02:07:57 2010
Return-Path: <nwhitehorn@anacreon.physics.wisc.edu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F4174106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Jun 2010 02:07:56 +0000 (UTC)
	(envelope-from nwhitehorn@anacreon.physics.wisc.edu)
Received: from anacreon.physics.wisc.edu (anacreon.physics.wisc.edu [128.104.160.176])
	by mx1.freebsd.org (Postfix) with ESMTP id BEA488FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Jun 2010 02:07:56 +0000 (UTC)
Received: from anacreon.physics.wisc.edu (localhost [127.0.0.1])
	by anacreon.physics.wisc.edu (8.14.4/8.14.4) with ESMTP id o5S27uPn027796
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Jun 2010 21:07:56 -0500 (CDT)
	(envelope-from nwhitehorn@anacreon.physics.wisc.edu)
Received: (from nwhitehorn@localhost)
	by anacreon.physics.wisc.edu (8.14.4/8.14.4/Submit) id o5S27u3V027795;
	Sun, 27 Jun 2010 21:07:56 -0500 (CDT)
	(envelope-from nwhitehorn)
Message-Id: <201006280207.o5S27u3V027795@anacreon.physics.wisc.edu>
Date: Sun, 27 Jun 2010 21:07:56 -0500 (CDT)
From: Nathan Whitehorn <nwhitehorn@freebsd.org>
Reply-To: Nathan Whitehorn <nwhitehorn@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] fix multimedia/ffmpeg build on powerpc64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         148200
>Category:       ports
>Synopsis:       [patch] fix multimedia/ffmpeg build on powerpc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 28 02:10:04 UTC 2010
>Closed-Date:    Thu Sep 09 22:05:40 UTC 2010
>Last-Modified:  Thu Sep 09 22:05:40 UTC 2010
>Originator:     Nathan Whitehorn
>Release:        FreeBSD 9.0-CURRENT powerpc64
>Organization:
University of Wisconsin
>Environment:
System: FreeBSD anacreon.physics.wisc.edu 9.0-CURRENT FreeBSD 9.0-CURRENT #6 r209477:209507: Thu Jun 24 09:30:48 CDT 2010 root@anacreon.physics.wisc.edu:/usr/obj/scratch/src/sys/ANACREON powerpc64


	
>Description:
The ffmpeg configure script recognizes only 'ppc64' as a platform ID for
64-bit powerpc, but FreeBSD reports itself as 'powerpc64'.
>How-To-Repeat:
>Fix:
The attached patch adds 'powerpc64' to the configure script (this is ffmpeg
revision 22439), and allows ffmpeg to build and work successfully on
powerpc64 systems.

--- ffmpeg-configure-patch begins here ---
--- configure.bak	2010-06-27 15:07:10.000000000 -0500
+++ configure	2010-06-27 15:06:41.000000000 -0500
@@ -1457,7 +1457,7 @@
         arch="ppc"
         enable fast_unaligned
     ;;
-    ppc64)
+    ppc64|powerpc64)
         arch="ppc"
         enable fast_64bit
         enable fast_unaligned
--- ffmpeg-configure-patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 28 02:10:23 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148200 

From: Martin Matuska <mm@FreeBSD.org>
To: bug-followup@FreeBSD.org, nwhitehorn@freebsd.org
Cc:  
Subject: Re: ports/148200: [patch] fix multimedia/ffmpeg build on powerpc64
Date: Sat, 24 Jul 2010 21:25:35 +0200

  Does new ffmpeg 0.6 port work well on powerpc64? They seem to have
 fixed it upsteram.

From: Nathan Whitehorn <nwhitehorn@freebsd.org>
To: Martin Matuska <mm@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148200: [patch] fix multimedia/ffmpeg build on powerpc64
Date: Fri, 30 Jul 2010 12:34:51 -0500

 On Sat, 24 Jul 2010 21:25:35 +0200
 Martin Matuska <mm@FreeBSD.org> wrote:
 
 >  Does new ffmpeg 0.6 port work well on powerpc64? They seem to have
 > fixed it upsteram.
 
 There are two remaining problems:
 
 1) It uses uname -m instead of -p to get the architecture, which
 returns powerpc instead of powerpc64 (this probably breaks pc98 as
 well).
 
 2) On my system, the ppc architecture-specific bits in libavcodec do not
 get built if I run make from multimedia/ffmpeg, resulting in some
 linking errors at the end. If I then cd work/ffmpeg-0.6; gmake, they
 get immediately built and everything is fine. I'm completely at a loss
 as to what is different when gmake is run by ports vs. by hand.
 -Nathan

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/148200: commit references a PR
Date: Sun,  1 Aug 2010 20:41:42 +0000 (UTC)

 mm          2010-08-01 20:41:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/ffmpeg    Makefile 
     multimedia/ffmpeg/files patch-configure 
     multimedia/ffmpeg-devel Makefile 
   Added files:
     multimedia/ffmpeg/files patch-libavcodec-Makefile 
     multimedia/ffmpeg-devel/files patch-configure 
                                   patch-libavcodec-Makefile 
                                   patch-libavutil-common.h 
   Log:
   - Fix architecture recognition [1]
   - Remove ARCH hack and rename ARCH to FFMPEG_ARCH (fixes powerpc64 build)
   - Synchronize patches between ffmpeg and ffmpeg-devel
   
   PR:             ports/148200 [1]
   Submitted by:   Nathan Whitehorn <nwhitehorn@freebsd.org> [1]
   
   Revision  Changes    Path
   1.126     +1 -2      ports/multimedia/ffmpeg-devel/Makefile
   1.16      +31 -0     ports/multimedia/ffmpeg-devel/files/patch-configure (new)
   1.1       +11 -0     ports/multimedia/ffmpeg-devel/files/patch-libavcodec-Makefile (new)
   1.1       +13 -0     ports/multimedia/ffmpeg-devel/files/patch-libavutil-common.h (new)
   1.114     +1 -2      ports/multimedia/ffmpeg/Makefile
   1.11      +24 -6     ports/multimedia/ffmpeg/files/patch-configure
   1.1       +11 -0     ports/multimedia/ffmpeg/files/patch-libavcodec-Makefile (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Thu Sep 9 22:05:39 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148200 
>Unformatted:
