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

Aurelien Jarno aurel32 at debian.org
Fri Jun 20 15:04:03 UTC 2008


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





More information about the pkg-multimedia-maintainers mailing list