[MacPorts] #71077: osmocore seems to use wrong endianness check

MacPorts noreply at macports.org
Wed Oct 9 09:31:55 UTC 2024


#71077: osmocore seems to use wrong endianness check
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.2
 Keywords:                |       Port:  osmocore
--------------------------+----------------------
 Can’t really test this at the moment, but it seems that the check is
 defunct. See my comment here:
 https://github.com/osmocom/libosmocore/commit/cc3694b650e22598811b3e5eaf74ef3dc0e4f7ab
 #diff-be543ecf2a1269d630e8a2f392b293acce7d5160d09b418ae78453b89309f537R31

 No surprise the bug could have gone unnoticed for years, because macros
 check for LE first, which, AFAIU, evaluates as true always, so one never
 gets to BE case.

 P. S. Also the port is terribly outdated, upstream is at 1.10.0.

-- 
Ticket URL: <https://trac.macports.org/ticket/71077>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list