From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 2 09:20:35 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A73D4106566C for ; Sat, 2 May 2009 09:20:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 68FB08FC15 for ; Sat, 2 May 2009 09:20:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n429KXsU027392 for ; Sat, 2 May 2009 09:20:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n429KXtE027391; Sat, 2 May 2009 09:20:33 GMT (envelope-from gnats) Resent-Date: Sat, 2 May 2009 09:20:33 GMT Resent-Message-Id: <200905020920.n429KXtE027391@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Joseph S. Atkinson" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FD0A106564A for ; Sat, 2 May 2009 09:12:32 +0000 (UTC) (envelope-from jsa@wickedmachine.net) Received: from mephisto.wickedmachine.net (tn-76-7-159-129.dhcp.embarqhsd.net [76.7.159.129]) by mx1.freebsd.org (Postfix) with ESMTP id 6299E8FC1A for ; Sat, 2 May 2009 09:12:31 +0000 (UTC) (envelope-from jsa@wickedmachine.net) Received: from mephisto.wickedmachine.net (localhost [127.0.0.1]) by mephisto.wickedmachine.net (8.14.3/8.14.3) with ESMTP id n429CXT8052555; Sat, 2 May 2009 05:12:33 -0400 (EDT) (envelope-from jsa@wickedmachine.net) Message-Id: <1241255553.52414@mephisto.wickedmachine.net> Date: Sat, 2 May 2009 05:12:33 -0400 From: "Joseph S. Atkinson" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: jpaetzel@FreeBSD.org Subject: ports/134153: Fix multimedia/libxine with libdvdcss X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 09:20:36 -0000 >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@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: