solemnwarning / rehex

Reverse Engineers' Hex Editor
https://rehex.solemnwarning.net/
GNU General Public License v2.0
2.31k stars 116 forks source link

Fix endianness support on FreeBSD #133

Closed danfe closed 3 years ago

danfe commented 3 years ago

You're using seemingly popular portable_endian.h header file by Mathias Panzenböck which mishandles modern FreeBSD (it breaks the build); your copy needs the same patch as in sirjuddington/SLADE#1263.

solemnwarning commented 3 years ago

I don't have a FreeBSD box handy, but should be fixed now.

danfe commented 3 years ago

I've removed my local sed(1)-based hack, applied the 98c8013 patch, and the build is fine now, thank you.