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=25;filename=05-endian.patch;att=1;bug=531621

Which I adjusted for FreeBSD (changed patch to source file and path to
include file)

Can this be included in ports?

Cheers

Rich

--
richo || Today's excuse:
the xy axis in the trackball is coordinated with the summer solstice
Index: src/bswap.h
===================================================================
--- 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
  */
 
+#include <sys/endian.h>
+#if BYTE_ORDER == BIG_ENDIAN
+#define WORDS_BIGENDIAN
+#endif
+
 #include <config.h>
 
 #if defined(WORDS_BIGENDIAN)

Attachment: signature.asc
Description: Digital signature

Reply via email to