[MacPorts] #40401: lcdf-typetools: universal variant fails: "Neither WORDS_BIGENDIAN nor WORDS_LITTLEENDIAN is defined!"
MacPorts
noreply at macports.org
Fri Sep 6 14:01:07 PDT 2013
#40401: lcdf-typetools: universal variant fails: "Neither WORDS_BIGENDIAN nor
WORDS_LITTLEENDIAN is defined!"
-----------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: lcdf-typetools |
-----------------------------+--------------------------------
Comment (by egall@…):
Endianness is checked like this in the configure script:
{{{
AC_C_BIGENDIAN(, [AC_DEFINE([WORDS_LITTLEENDIAN], 1, [Define to 1 if your
processor stores words with the least significant byte
first (like Intel and VAX, unlike Motorola and SPARC).])])
}}}
([https://github.com/kohler/lcdf-typetools/blob/master/configure.ac#L138
ref])
I haven't tried this myself yet, but perhaps someone could try patching
the configure script to define `WORDS_BIGENDIAN` in the first condition
instead of just leaving it blank? Like this:
{{{
AC_C_BIGENDIAN([
AC_DEFINE([WORDS_BIGENDIAN],[1],[Define to 1 if your processor stores
words with the most significant byte first (like PowerPC, unlike Intel).])
],[
AC_DEFINE([WORDS_LITTLEENDIAN],[1],[Define to 1 if your processor stores
words with the least significant byte first (like Intel and VAX, unlike
Motorola and SPARC).])
])
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40401#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list