Applied patch for Darwin build fix
Kartik Thakore [Sun, 2 Aug 2009 11:55:04 +0000 (07:55 -0400)]
make/lib/SDL/Build/Darwin.pm
test/testgfxprim.pl

index 1aa5d4c..b237cb9 100644 (file)
@@ -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',
        );
 }
 
index e6f32d9..0d59244 100644 (file)
@@ -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