On Thu, Mar 24, 2011 at 07:45:25PM +0000, Jacob Meuser wrote:
> On Thu, Mar 24, 2011 at 08:24:55PM +0100, Landry Breuil wrote:
> > On Wed, Mar 23, 2011 at 09:13:31PM +0000, Edd Barrett wrote:
> > > On Wed, Mar 23, 2011 at 12:23:21PM -0400, Brad wrote:
> > > > Read the content of both URLs in context... they both refer to the 
> > > > MythTV project.
> > > 
> 
> 
> ugh.  does this fix it?  or maybe like __APPLE__, _POSIX_C_SOURCE should be
> undefined?


That helps, but it fails later on with :
ld: warning: type and size of dynamic symbol `__got_start@@LIBAVCODEC_52' are 
not defined
ld: warning: type and size of dynamic symbol `__got_end@@LIBAVCODEC_52' are not 
defined
/usr/obj/ports/ffmpeg-20110306/ffmpeg-git-20110306/libavcodec/libavcodec.so.15.0:
 undefined reference to `ff_fmt_convert_init_ppc'   

looks like altivec is disabled in libavcoded/ppc, as only dsputil_ppc.c
is compiled, while the implem is in the other c files, and the code is
called inconditionally in libavcodec/fmtconvert.c. fail.

Edd, can you clean your tarball from .orig files in libavdevice ? That'll avoid
confusing make update-patches.

Landry

> 
> -- 
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> 
> $OpenBSD$
> --- libavutil/ppc/cpu.c.orig  Thu Mar 24 12:36:27 2011
> +++ libavutil/ppc/cpu.c       Thu Mar 24 12:37:02 2011
> @@ -20,6 +20,7 @@
>  #undef _POSIX_C_SOURCE
>  #include <sys/sysctl.h>
>  #elif defined(__OpenBSD__)
> +#define _BSD_SOURCE
>  #include <sys/param.h>
>  #include <sys/sysctl.h>
>  #include <machine/cpu.h>
> 

Reply via email to