[MacPorts] #61091: imlib2 @1.7.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of "error: ‘l’ undeclared (first use in this function)"
MacPorts
noreply at macports.org
Mon Aug 31 08:44:30 UTC 2020
#61091: imlib2 @1.7.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of
"error: ‘l’ undeclared (first use in this function)"
-----------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: leopard | Port: imlib2
-----------------------+--------------------
{{{
make[4]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.7.0/src/modules/loaders'
CC argb_la-loader_argb.lo
loader_argb.c: In function ‘load2’:
loader_argb.c:55: error: ‘l’ undeclared (first use in this function)
loader_argb.c:55: error: (Each undeclared identifier is reported only once
loader_argb.c:55: error: for each function it appears in.)
make[4]: *** [argb_la-loader_argb.lo] Error 1
make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.7.0/src/modules/loaders'
}}}
The error happens here:
{{{
54 #ifdef WORDS_BIGENDIAN
55 for (l = 0; l < im->w; l++)
56 SWAP_LE_32_INPLACE(ptr[l]);
57 #endif
}}}
Obviously the programmers did not have a big endian hardware to test their
software and so forgot to declare probably more than one variable…
I'll try to patch this and possibly other files in this port!
--
Ticket URL: <https://trac.macports.org/ticket/61091>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list