From: Kartik Thakore Date: Sun, 2 Aug 2009 11:55:04 +0000 (-0400) Subject: Applied patch for Darwin build fix X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=76272a9a33a11cbf9dfa2d57f7f871ecdee116e1;p=sdlgit%2FSDL_perl.git Applied patch for Darwin build fix --- diff --git a/make/lib/SDL/Build/Darwin.pm b/make/lib/SDL/Build/Darwin.pm index 1aa5d4c..b237cb9 100644 --- a/make/lib/SDL/Build/Darwin.pm +++ b/make/lib/SDL/Build/Darwin.pm @@ -15,17 +15,20 @@ sub fetch_includes '/usr/local/include/gl' => '/usr/local/lib', '/usr/include/GL' => '/usr/lib', '/usr/include/gl' => '/usr/lib', - - '/System/Library/Frameworks/SDL_mixer.framework/Headers' => '../../lib', - '/System/Library/Frameworks/SDL_image.framework/Headers' => '../../lib', - '/System/Library/Frameworks/SDL_ttf.framework/Headers' => '../../lib', - '/System/Library/Frameworks/libogg.framework/Headers' => '../../lib', - '/System/Library/Frameworks/libvorbis.framework/Headers' => '../../lib', - '/System/Library/Frameworks/libvorbisfile.framework/Headers' => '../../lib', - '/System/Library/Frameworks/libvorbisenc.framework/Headers' => '../../lib', - '../../include' => '../../lib', - '/System/Library/Frameworks/OpenGL.framework/Headers' => - '/System/Library/Frameworks/OpenGL.framework/Libraries', + + '/Library/Frameworks/SDL.framework/Headers' => '../../lib', + '/Library/Frameworks/SDL_mixer.framework/Headers' => '../../lib', + '/Library/Frameworks/SDL_image.framework/Headers' => '../../lib', + '/Library/Frameworks/SDL_net.framework/Headers' => '../../lib', + '/Library/Frameworks/SDL_ttf.framework/Headers' => '../../lib', + '/Library/Frameworks/SDL_gfx.framework/Headers' => '../../lib', + '/Library/Frameworks/libogg.framework/Headers' => '../../lib', + '/Library/Frameworks/libvorbis.framework/Headers' => '../../lib', + '/Frameworks/libvorbisfile.framework/Headers' => '../../lib', + '/Library/Frameworks/libvorbisenc.framework/Headers' => '../../lib', + '../../include' => '../../lib', + '/System/Library/Frameworks/OpenGL.framework/Headers' => + '/System/Library/Frameworks/OpenGL.framework/Libraries', ); } diff --git a/test/testgfxprim.pl b/test/testgfxprim.pl index e6f32d9..0d59244 100644 --- a/test/testgfxprim.pl +++ b/test/testgfxprim.pl @@ -202,10 +202,10 @@ sub game_loop $surfMidWidth*.25,$surfMidHeight*.10,255,255,0,255); # pie slices - SDL::GFXFilledpieRGBA($surf,$surfMidWidth,$surfMidHeight, $surfMidWidth*.1, + SDL::GFXFilledPieRGBA($surf,$surfMidWidth,$surfMidHeight, $surfMidWidth*.1, 0,90,0,0,255,255); - SDL::GFXFilledpieRGBA($surf,$surfMidWidth,$surfMidHeight, $surfMidWidth*.1, + SDL::GFXFilledPieRGBA($surf,$surfMidWidth,$surfMidHeight, $surfMidWidth*.1, 180,270,0,0,255,255); # polygons