Skip to content
Browse files

added CGFloat patch for darwin/SDL_image

  • Loading branch information...
1 parent c71dcee commit 60a91ccb7201d348be00d34066f2aadcfffd5c70 @FROGGS FROGGS committed Jul 26, 2012
Showing with 16 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 MANIFEST
  3. +1 −0 inc/My/Utility.pm
  4. +13 −0 patches/SDL_image-1.2.11-CGFloat.patch
View
1 Changes
@@ -9,6 +9,7 @@ TODO
- changed shlib regex to match libz and libfreetype [jtpalmer]
- disabling mmx for SDL_gfx for armv6-unix [jtpalmer]
- added bin script to make configuring easier [kthakore]
+ - added CGFloat patch for darwin/SDL_image [FROGGS]
1.437_1 Mon Jun 25 2012
- CFLAGS: added several circumstances where we need /usr/X11R7/... [FROGGS]
View
1 MANIFEST
@@ -14,6 +14,7 @@ patches/jpeg-8a_cygwin.patch
patches/libvorbis-1.3.3-configure.patch
patches/SDL-1.2-openbsd-rldflags.patch
patches/SDL_config_win32.h
+patches/SDL_image-1.2.11-CGFloat.patch
patches/SDL_image-1.2.11-libpng-flags.patch
patches/SDL_mixer-1.2.12-native-midi-win32.patch
patches/SDL_Pango-0.1.2-API-adds.1.patch
View
1 inc/My/Utility.pm
@@ -205,6 +205,7 @@ our $source_packs = [
],
sha1sum => 'dd384ff87848595fcc0691833431ec5029f973c7',
patches => [
+ 'SDL_image-1.2.11-CGFloat.patch',
'SDL_image-1.2.11-libpng-flags.patch',
],
prereqs => {
View
13 patches/SDL_image-1.2.11-CGFloat.patch
@@ -0,0 +1,13 @@
+--- SDL_image-1.2.11/IMG_ImageIO.m 2012-01-15 22:28:46.000000000 +0100
++++ SDL_image-1.2.11/IMG_ImageIO.m.new 2012-07-25 23:57:31.000000000 +0200
+@@ -30,6 +30,10 @@
+ #include <ApplicationServices/ApplicationServices.h>
+ #endif
+
++#ifndef CGFloat
++#include <CoreGraphics/CoreGraphics.h>
++#endif
++
+ /**************************************************************
+ ***** Begin Callback functions for block reading *************
+ **************************************************************/

0 comments on commit 60a91cc

Please sign in to comment.
Something went wrong with that request. Please try again.