Bug#487252: ffmpeg-free: libraries linked with libX11 on GNU/kFreeBSD

Fabian Greffrath fabian.greffrath at web.de
Sun Jun 22 11:55:37 UTC 2008


Reinhard, could you please suggest this patch for inclusion upstream on
the ffmpeg mailing list?

Am Freitag, den 20.06.2008, 17:04 +0200 schrieb Aurelien Jarno:
> Package: ffmpeg-free
> Version: 0.svn20080206-8
> Severity: normal
> Tags: patch
> 
> ffmpeg-free links with -Wl,--as-needed on GNU/Linux, so the resulting
> libraries are not linked with libX11. This is something required by VLC.
> 
> On GNU/kFreeBSD, -Wl,--as-needed is not used, so VLC fails to build.
> Please find below a patch to fix that.
> 
> --- ffmpeg-free-0.svn20080206.orig/configure
> +++ ffmpeg-free-0.svn20080206/configure
> @@ -1289,6 +1289,9 @@
>          SLIB_UNINSTALL_EXTRA_CMD='rm -f "$(LIBDIR)"/$(LIBPREF)$(NAME)_dll.a "$(LIBDIR)"/$(LIBPREF)$(NAME)_dll.lib'
>          vhook="no"
>          ;;
> +    gnu/kfreebsd)
> +        LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS"
> +        ;;
>  
>      *)
>          targetos="${targetos}-UNKNOWN"
> 
> -- System Information:
> Debian Release: lenny/sid
> Architecture: kfreebsd-i386 (i686)
> 
> Kernel: kFreeBSD 7.0-1-686
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> 
> 
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
> �






More information about the pkg-multimedia-maintainers mailing list