Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 01:17:05 +1100
From:      richo <richo@psych0tik.net>
To:        freebsd-ppc <freebsd-ppc@freebsd.org>, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   [PATCH] multimedia/libdvdnav
Message-ID:  <20111022141705.GA14796@vesper.psych0tik.net>

next in thread | raw e-mail | index | archive | help

--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 <sys/endian.h>
+#if BYTE_ORDER =3D=3D BIG_ENDIAN
+#define WORDS_BIGENDIAN
+#endif
+
 #include <config.h>
=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111022141705.GA14796>