[MacPorts] #25911: libsdl_mixer: fix PowerPC issues

MacPorts noreply at macports.org
Tue Aug 3 00:32:57 PDT 2010


#25911: libsdl_mixer: fix PowerPC issues
----------------------------+-----------------------------------------------
 Reporter:  nb@…            |       Owner:  macports-tickets@…                   
     Type:  enhancement     |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  1.9.1                                
 Keywords:                  |        Port:  libsdl_mixer                         
----------------------------+-----------------------------------------------

Comment(by nb@…):

 Sorry for not knowing the preferred submission as a diff.  I will try to
 keep that in mind next time.

 The extra -I${prefix}/include, if you will, is to enable the configure
 script to properly check for the existence of the libvorbis port on a
 PowerPC/Tiger system.  Without it, the configure script will fail to
 detect it.  I am unsure why configure works unpatched on Intel/Leopard.

 The mixer.c patch, however, is specific to the big-endian nature of the
 PowerPC platform, as the unpatched code assumes an i386 or little-endian
 architecture.

 I invented this patch myself as part of the work I am doing to package
 freeciv and freeciv-x11 for use by non-MacPorts users, using these two
 ports as starting points.  I have sent E-mail to the developers of
 SDL_mixer regarding the mixer.c issue.  Too bad they don't have a nice
 ticketing system (that I can find) like MacPorts does.

-- 
Ticket URL: <http://trac.macports.org/ticket/25911#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list