[MacPorts] #19829: cdparanoia build fails on Tiger (common symbols not allowed with MH_DYLIB output format...)
MacPorts
noreply at macports.org
Wed Jun 3 11:34:56 PDT 2009
#19829: cdparanoia build fails on Tiger (common symbols not allowed with MH_DYLIB
output format...)
---------------------------------+------------------------------------------
Reporter: vinc17@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: cdparanoia
---------------------------------+------------------------------------------
Comment(by neric27@…):
paranoia_read_flags is top level variable and isn't initialized.According
to [http://gcc.gnu.org/ml/gcc/2005-06/msg00199.html] this promotes it to
an extern declaration.
paranoia_read_flags seems to be there only to declare an anonymous enum.
Indeed, it's never used in any part of the coded (grep -R
paranoia_read_flags cdparanoia-III-10.2 finds only one occurence).
What worked for me was to initialize the variable with a random value from
the enum.
A patch is attached
--
Ticket URL: <http://trac.macports.org/ticket/19829#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list