Opened 16 years ago

Last modified 15 years ago

#13455 closed defect

mp3info doesn't compile on Leopard PPC — at Initial Version

Reported by: ken@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: mp3info Cc: nomaintainer@…, ken@…
Port:

Description

On a PPC leopard install, I get:

# port install mp3info ---> Fetching mp3info ---> Verifying checksum(s) for mp3info ---> Extracting mp3info ---> Configuring mp3info ---> Building mp3info with target mp3info Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_mp3info/work/mp3info-0.8.5a" && make mp3info " returned error 2 Command output: gcc -g -O2 -Wall -c -o mp3info.o mp3info.c gcc -g -O2 -Wall -c -o textfunc.o textfunc.c gcc -g -O2 -Wall -c -o mp3curs.o mp3curs.c gcc -g -O2 -Wall -c -o mp3tech.o mp3tech.c mp3tech.c: In function 'sameConstant': mp3tech.c:282: error: 'uint' undeclared (first use in this function) mp3tech.c:282: error: (Each undeclared identifier is reported only once mp3tech.c:282: error: for each function it appears in.) mp3tech.c:282: error: syntax error before ')' token mp3tech.c:282: error: syntax error before ')' token make: * [mp3tech.o] Error 1

Error: Status 1 encountered during processing.

A patch to fix the problem is attached.

Change History (2)

Changed 16 years ago by ken@…

Attachment: uint.patch added

A patch to change the only "uint" references to "unsigned int"

Changed 16 years ago by ken@…

Attachment: portfile.patch added

The simple change to the portfile

Note: See TracTickets for help on using tickets.