[MacPorts] #53079: cctools @895 does not build on a PPC running leopard
MacPorts
noreply at macports.org
Fri Dec 16 17:16:10 CET 2016
#53079: cctools @895 does not build on a PPC running leopard
-------------------------+---------------------
Reporter: josephsacco | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: PPC leopard | Port: cctools
-------------------------+---------------------
cctools @895 does not build on a PPC running OS X 10.5.8 due to a typo in
libstuff/ofile.c
{{{
$ cat cctools-895-ofile.patch
--- libstuff/ofile.c- 2016-12-16 11:53:10.000000000 -0500
+++ libstuff/ofile.c 2016-12-16 11:53:41.000000000 -0500
@@ -3423,7 +3423,7 @@
if(size - offset > sizeof(uint32_t)){
memcpy(&magic, addr + offset, sizeof(uint32_t));
#ifdef __BIG_ENDIAN__
- if(magic == FAT_MAGIC || (magic == FAT_MAGIC_64)
+ if(magic == FAT_MAGIC || (magic == FAT_MAGIC_64))
#endif /* __BIG_ENDIAN__ */
#ifdef __LITTLE_ENDIAN__
if(magic == SWAP_INT(FAT_MAGIC) ||
}}}
A patch file containing the above patch is attached.
-Joseph
--
Ticket URL: <https://trac.macports.org/ticket/53079>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list