ports/134153: Fix multimedia/libxine with libdvdcss

Joseph S. Atkinson jsa at wickedmachine.net
Sat May 2 09:20:36 UTC 2009

>Number:         134153
>Category:       ports
>Synopsis:       Fix multimedia/libxine with libdvdcss
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 02 09:20:01 UTC 2009
>Originator:     Joseph S. Atkinson
>Release:        FreeBSD 7.2-RC2 i386

System: FreeBSD 7.2-RC2 #0: Sat Apr 25 14:38:07 EDT 2009
    jsa at mephisto.wickedmachine.net:/usr/obj/usr/src/sys/MEPHISTO


libxine expects to dlopen a static libdvdcss.so.2, but currently it sits at version 3. This patch, to be placed in multimedia/libxine/files/, changes the hardlink to the .so symlink. This not only allows fixes the problem currently, but should allow for future versions to work without need for further modification (until the ABI truly does break).

NOTE: There is a hook HAVE_DVDCSS_DVDCSS_H for building support proper, but this appears to be broken.

Thanks to jpaetzel for solving the mystery and rnoland for helping me try it out with dvdcss/dvdcss.h.


Build multimedia/xine or multimdia/totem-xine, then try to watch a css encrypted dvd.


--- patch-src:libdvdnav:dvd_input.c begins here ---
--- src/input/libdvdnav/dvd_input.c.orig	2009-05-02 04:36:50.000000000 -0400
+++ src/input/libdvdnav/dvd_input.c	2009-05-02 04:40:01.000000000 -0400
@@ -369,7 +369,7 @@
 #elif defined(WIN32)
   dvdcss_library = dlopen("libdvdcss.dll", RTLD_LAZY);
-  dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
+  dvdcss_library = dlopen("libdvdcss.so", RTLD_LAZY);
   if(dvdcss_library != NULL) {
--- patch-src:libdvdnav:dvd_input.c ends here ---


More information about the freebsd-ports-bugs mailing list