ports/171473: [PATCH] multimedia/handbrake doesn't load dvdcss library

Heath Nielson heathn at gmail.com
Sat Sep 8 20:10:10 UTC 2012


>Number:         171473
>Category:       ports
>Synopsis:       [PATCH] multimedia/handbrake doesn't load dvdcss library
>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 Sep 08 20:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Heath Nielson
>Release:        FreeBSD 9.1-PRERELEASE
>Organization:
>Environment:
FreeBSD hershey.bar.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #18: Sun Aug 19 20:47:50 MDT 2012     root at hershey.bar.net:/usr/obj/usr/src/sys/HERSHEY  amd64
>Description:
Handbrake tries to dlopen libdvdcss.so.2.  The library the libdvdcss pacakge installs is actually libdvdcss.so.3 so the call always fails and handbrake fails to properly read CSS-encoded DVDs.
>How-To-Repeat:
cd /usr/ports/multimedia/handbrake; make install

Try to encode a CSS-encoded DVD.  Garbled output is the result.
>Fix:
dlopen the correct library.  Patch is attached.

Patch attached with submission follows:

--- build/contrib/libdvdread/libdvdread/src/dvd_input.c.orig	2012-09-06 18:23:47.000000000 -0600
+++ build/contrib/libdvdread/libdvdread/src/dvd_input.c	2012-09-06 18:24:10.000000000 -0600
@@ -291,7 +291,7 @@
 #elif defined(__OS2__)
   #define CSS_LIB "dvdcss.dll"
 #else
-  #define CSS_LIB "libdvdcss.so.2"
+  #define CSS_LIB "libdvdcss.so.3"
 #endif
   dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY);
 


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



More information about the freebsd-ports-bugs mailing list