From owner-freebsd-ports@FreeBSD.ORG Sat Oct 22 15:03:24 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEBF2106575A for ; Sat, 22 Oct 2011 15:03:24 +0000 (UTC) (envelope-from richo@psych0tik.net) Received: from bedford.accountservergroup.com (bedford.accountservergroup.com [50.22.11.19]) by mx1.freebsd.org (Postfix) with ESMTP id C4CA58FC14 for ; Sat, 22 Oct 2011 15:03:24 +0000 (UTC) Received: from ppp118-209-21-132.lns20.mel4.internode.on.net ([118.209.21.132] helo=vesper.psych0tik.net) by bedford.accountservergroup.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1RHcNs-0005Fi-4c; Sat, 22 Oct 2011 09:17:12 -0500 Date: Sun, 23 Oct 2011 01:17:05 +1100 From: richo To: freebsd-ppc , freebsd-ports Message-ID: <20111022141705.GA14796@vesper.psych0tik.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline X-PGP-Key: http://natalya.psych0tik.net/~richo/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bedford.accountservergroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - psych0tik.net X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: [PATCH] multimedia/libdvdnav X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2011 15:03:25 -0000 --IiVenqGWf+H9Y6IX Content-Type: multipart/mixed; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I tried to use vlc to play a dvd on -CURRENT but it fails with libdvdnav: vm: ifoRead_FP_PGC failed Googling, I found a patch from debian bugtracker at http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D25;filename=3D05-endian.= patch;att=3D1;bug=3D531621 Which I adjusted for FreeBSD (changed patch to source file and path to include file) Can this be included in ports? Cheers Rich --=20 richo || Today's excuse:=20 the xy axis in the trackball is coordinated with the summer solstice --zhXaljGHf11kAtnf Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="libdvdnav-endian.patch" Content-Transfer-Encoding: quoted-printable Index: src/bswap.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- src/bswap.h 2009-06-04 12:32:25.000000000 -0700 +++ src/bswap.h 2009-06-04 12:32:59.000000000 -0700 @@ -20,6 +20,11 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ =20 +#include +#if BYTE_ORDER =3D=3D BIG_ENDIAN +#define WORDS_BIGENDIAN +#endif + #include =20 #if defined(WORDS_BIGENDIAN) --zhXaljGHf11kAtnf-- --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOotBhAAoJEIKiWz6J5yQVRPsH/1ND0EGASPQ54smHZP+VJDtK Vf+hrg76AOAlyZ2dMqnAoEP5ffRhYwhtgDM4pDcdOBWdKanBeUgV6Jn27/fko1lE MNBbbd3rEtOkt0OOshhFsM0pSbxmxpUt8zVfkwdfaBTVC9sCq35yKMd4Sf5xISYA /KFfMP6i7E1WM3sCLJcY5AAMKQk72ekNYMNv6w5bTuyGvIzh54SD07b7rmhjf/uD Zl0PAa4RpHGo5CbDn5b+xGRXaCr9KmA/L2ElsKj1jx/Cmr8t2JlNGOMVZkXkE8D3 ffh/MCm/9Cw6mNso6+EZdlWUXX/Fc07Om4y4GTA4fArxBeMVqhSH19cvSy561w8= =6PMO -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--