Bug 161947

Summary: multimedia/libdvdnav builds broken binaries on big endian machines
Product: Ports & Packages Reporter: Rich Healey <richo>
Component: Individual Port(s)Assignee: Ganael LAPLANCHE <martymac>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Rich Healey 2011-10-23 23:40:01 UTC
> 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?

Fix: Attached patch will reverse the word byte order if the machine is bigendian.

Patch attached with submission follows:
Comment 1 Justin Hibbits freebsd_committer freebsd_triage 2013-11-06 17:49:23 UTC
Responsible Changed
From-To: freebsd-ppc->freebsd-ports

This is a ports bug, handing it over.
Comment 2 Ganael LAPLANCHE freebsd_committer freebsd_triage 2013-11-07 08:13:13 UTC
Responsible Changed
From-To: freebsd-ports->martymac

I will take care of it.
Comment 3 Ganael LAPLANCHE freebsd_committer freebsd_triage 2013-11-12 07:24:46 UTC
State Changed
From-To: open->closed

Endianness problems have already been addressed in r289371.