diff options
author | Dugan Chen <thedoogster@gmail.com> | 2014-01-14 23:07:54 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-29 23:21:01 -0600 |
commit | ad722f51d0dc2d2b4bc7f3142ad4acbb90499a72 (patch) | |
tree | fbb71ec56a417e74d8e982a9866e381cb5e5895d /development/SDL2_image/pngfix.patch | |
parent | f7b3f20275c30754cf048fcbf727cdc61e66f715 (diff) | |
download | slackbuilds-ad722f51d0dc2d2b4bc7f3142ad4acbb90499a72.tar.gz |
development/SDL2_image: Added PNG Support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/SDL2_image/pngfix.patch')
-rw-r--r-- | development/SDL2_image/pngfix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/development/SDL2_image/pngfix.patch b/development/SDL2_image/pngfix.patch new file mode 100644 index 0000000000..c93abc6514 --- /dev/null +++ b/development/SDL2_image/pngfix.patch @@ -0,0 +1,14 @@ +diff -rupN SDL2_image-2.0.0.orig/IMG_png.c SDL2_image-2.0.0/IMG_png.c +--- SDL2_image-2.0.0.orig/IMG_png.c 2013-08-10 10:38:36.000000000 -0700 ++++ SDL2_image-2.0.0/IMG_png.c 2014-01-13 09:33:32.569432897 -0800 +@@ -68,8 +68,8 @@ + #include <png.h> + + /* Check for the older version of libpng */ +-#if (PNG_LIBPNG_VER_MAJOR == 1) +-#if (PNG_LIBPNG_VER_MINOR < 4) ++#if (PNG_LIBPNG_VER_MAJOR == 1) ++#if (PNG_LIBPNG_VER_MINOR < 5) + #define LIBPNG_VERSION_12 + typedef png_bytep png_const_bytep; + #endif |