[MacPorts] #24505: testdisk-6.11 Reports wrong bigendian architecture
MacPorts
noreply at macports.org
Thu Apr 15 16:16:25 PDT 2010
#24505: testdisk-6.11 Reports wrong bigendian architecture
-------------------------------------+--------------------------------------
Reporter: wickedguitar6@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: testdisk bigendian gpt | Port: testdisk-6.11
-------------------------------------+--------------------------------------
testdisk-6.11 has a fault bigendian architecture detection in its
configure file. Therefore if there is in the environment a "CFLAGS=-arch
...." argument, it assumes that the bigendian arch is universal (e.g. even
if "CFLAGS=-arch i386"). This results in that the program cannot correctly
analyse GPT volumes (fails with GPT: invalid header size).
I patched the configure file so that bigendian is true only if "-arch"
contains "ppc" or "ppc64". I also patched the Portfile.
Sorry if the technical terms are not 100% correct.
--
Ticket URL: <http://trac.macports.org/ticket/24505>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list