[Ffmpeg-devel] ffmpeg build patches

Diego Biurrun diego
Fri Dec 8 14:58:29 CET 2006


On Fri, Dec 08, 2006 at 03:47:38PM +0200, Nikns Siankin wrote:
> Updating OpenBSD ffmpeg port, I have made patches which could be
> commited into ffmpeg project.

The patch arrived badly mangled.

> --- Makefile.orig       Tue Dec  5 19:18:20 2006
> +++ Makefile    Tue Dec  5 19:18:49 2006
> @@ -154,7 +154,9 @@ install-headers:
>  ifeq ($(CONFIG_PP),yes)
>         $(MAKE) -C libpostproc install-headers
>  endif
> +ifeq ($(CONFIG_SWSCALER),yes)
>         $(MAKE) -C libswscale  install-headers
> +endif

wrong

> --- configure.orig Wed Nov 29 01:55:24 2006
> +++ configure Fri Dec 8 10:52:55 2006 @@ 
> -692,6 +692,10 @@ make="gmake"
> 
>  LIBOBJFLAGS="\$(PIC)"
>  LDCONFIG="ldconfig -m \$(shlibdir)"
>  add_extralibs "-lossaudio"
> +SHFLAGS='-shared'
> +SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)'
> +SLIBNAME_WITH_VERSION='$(SLIBNAME)'
> +SLIBNAME_WITH_MAJOR='$(SLIBNAME)'

Why?

> @@ -1413,7 +1417,7 @@ check_func memalign
> 
>  if test "$memalign" = "no" -a "$mmx" = "yes" -a \
>          "$memalign_hack" != "yes" -a "$targetos" != "Darwin" -a \
> -        "$targetos" != "FreeBSD" ; then
> +        "$targetos" != "FreeBSD" -a "$targetos" != "OpenBSD"; then
>      die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
>  fi

Probably OK.

Diego




More information about the ffmpeg-devel mailing list