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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 02 09:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        FreeBSD 7.2-RC2 i386
>Organization:
>Environment:


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



>Description:


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.


>How-To-Repeat:


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


>Fix:


--- 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);
 #else
-  dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
+  dvdcss_library = dlopen("libdvdcss.so", RTLD_LAZY);
 #endif
 
   if(dvdcss_library != NULL) {
--- patch-src:libdvdnav:dvd_input.c ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list