mp3info doesn't compile on Leopard PPC
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.
A patch to change the only "uint" references to "unsigned int"