[MacPorts] #20324: smpeg-0.4.4 fails to build under Snow Leopard

MacPorts noreply at macports.org
Sun Sep 6 05:23:30 PDT 2009


#20324: smpeg-0.4.4 fails to build under Snow Leopard
---------------------------------+------------------------------------------
 Reporter:  info@…               |       Owner:  mww@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.8.0           
 Keywords:  SnowLeopard          |        Port:  smpeg           
---------------------------------+------------------------------------------

Comment(by domiman@…):

 With these patches applied and also applying
 http://trac.macports.org/changeset/56648 to make smpeg use libsdl-devel
 (since libsdl is not building atm) compile errors in MPEG.ccp:

 libtool: compile:  /usr/bin/g++-4.2 -DPACKAGE=\"smpeg\"
 -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch i386 -mmacosx-version-min=10.5 -arch
 i386 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
 exceptions -fno-rtti -c MPEG.cpp  -fno-common -DPIC -o .libs/MPEG.o
 MPEG.cpp: In constructor 'MPEG::MPEG(int, bool)':
 MPEG.cpp:50: error: cannot convert 'bool' to 'SDL_bool' for argument '2'
 to 'SDL_RWops* SDL_RWFromFP(FILE*, SDL_bool)'
 MPEG.cpp: In member function 'void MPEG::Init(SDL_RWops*, bool)':
 MPEG.cpp:111: warning: deprecated conversion from string constant to
 'char*'
 make[1]: *** [MPEG.lo] Error 1
 make: *** [all-recursive] Error 1

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


More information about the macports-tickets mailing list