Opened 14 years ago

Closed 13 years ago

#322 closed defect/bug (fixed)

Endianness patch

Reported by: Pini Owned by: KaZeR
Priority: minor Milestone: want patch / contribution
Component: core Version: git master
Severity: Keywords:
Cc: gilles.filippini@…



Here is a patch to fix endianness issues on big-endian architectures.

Please someone with a big-endian box test it, preferably with MG maps.


Attachments (2)

endianness (1.3 KB) - added by Pini 14 years ago.
endianness.2 (25.3 KB) - added by pini 13 years ago.
New patch tested on Debian sparc with MG maps.

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by Pini

comment:1 Changed 13 years ago by KaZeR

  • Priority changed from major to minor
  • Status changed from new to assigned

Pini, have you tested it on a big endian box?

comment:2 Changed 13 years ago by Pini

No, unfortunately I don't have such a box. I think testing on a Sparc box with MG maps would suffice.


comment:3 Changed 13 years ago by KaZeR

  • Milestone set to want patch / contribution

I will postpone the patch as 'want contribution' until we can test it. It looks fine and harmless, but i'd better have someone to test it, and report that it works. Thanks for the patch anyway, let me know if you find a Sparc box :)

comment:4 Changed 13 years ago by Pini


I've found an unused Sun Blade 1000 at work. I still have to find a way to install Debian onto it (no CD drive yet). It may be a matter of a couple of weeks.


comment:5 Changed 13 years ago by Pini

Both good new and bad news :/

The good news is I now have a functional Sun station with Debian to test Navit on.

The bad news is the current patch is far too naive. It'll have to be much more invasive. Still working on it though.

Changed 13 years ago by pini

New patch tested on Debian sparc with MG maps.

comment:6 Changed 13 years ago by cp15

  • Resolution set to fixed
  • Status changed from assigned to closed

Applied to svn r2418

Note: See TracTickets for help on using tickets.