ports/149913: [patch] make multimedia/mplayer work on powerpc

Andreas Tobler andreast at fgznet.ch
Mon Aug 23 18:30:02 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list