The ffmpeg configure script recognizes only 'ppc64' as a platform ID for 64-bit powerpc, but FreeBSD reports itself as 'powerpc64'. 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.
Responsible Changed From-To: freebsd-ports-bugs->mm Over to maintainer (via the GNATS Auto Assign Tool)
Does new ffmpeg 0.6 port work well on powerpc64? They seem to have fixed it upsteram.
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
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 Committed. Thanks!