Date: Mon, 23 Aug 2010 18:24:20 GMT From: Andreas Tobler <andreast@fgznet.ch> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/149913: [patch] make multimedia/mplayer work on powerpc Message-ID: <201008231824.o7NIOKTp059912@www.freebsd.org> Resent-Message-ID: <201008231830.o7NIU2X4025708@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149913 >Category: ports >Synopsis: [patch] make multimedia/mplayer work on powerpc >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: Mon Aug 23 18:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andreas Tobler >Release: -CURRENT >Organization: none >Environment: FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #39 r211589M: Sun Aug 22 03:53:40 CEST 2010 andreast@wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb powerpc >Description: The two attached files make mplayer work on powerpc (32-bit). One is for the mplayer configure file s/ARCH/MPLAYER_ARCH and the other for the libavcodec/Makefile: s/ARCH/MPLAYER_ARCH. There are a few link errors: libavcodec/libavcodec.a(dsputil.o)(.text+0x17df4): In function `dsputil_init': : undefined reference to `dsputil_init_ppc' ... I had a look at ports/148200 and borrowed the fix from there. >How-To-Repeat: >Fix: Patch attached with submission follows: --- libavcodec/Makefile.orig 2010-08-23 19:18:55.000000000 +0200 +++ libavcodec/Makefile 2010-08-23 19:19:04.000000000 +0200 @@ -608,7 +608,7 @@ OBJS-$(CONFIG_MLIB) += mlib/dsputil_mlib.o \ --include $(SUBDIR)$(ARCH)/Makefile +-include $(SUBDIR)$(MPLAYER_ARCH)/Makefile SKIPHEADERS = %_tablegen.h SKIPHEADERS-$(CONFIG_DXVA2) += dxva2.h dxva2_internal.h >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008231824.o7NIOKTp059912>