diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-12-24 15:20:14 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-12-24 15:20:14 +0000 |
commit | ec10a5a9a4828735befdf39abf5cdf220f0196a6 (patch) | |
tree | f5e005db9f485628d72f2aae57d57b869fe8f32a /games/lbreakout2/files/patch-stk.c | |
parent | Properly support png 1.5 (diff) |
- Properly support png 1.5
- Cleanup plist
Diffstat (limited to '')
-rw-r--r-- | games/lbreakout2/files/patch-stk.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/games/lbreakout2/files/patch-stk.c b/games/lbreakout2/files/patch-stk.c deleted file mode 100644 index 6893b30d6c7c..000000000000 --- a/games/lbreakout2/files/patch-stk.c +++ /dev/null @@ -1,27 +0,0 @@ ---- gui/stk.c.orig 2005-03-28 19:18:42.000000000 +0200 -+++ gui/stk.c 2012-05-03 07:07:35.000000000 +0200 - #include <stdarg.h> - #include <stdlib.h> - #include <png.h> -+#include <pngpriv.h> - #include "stk.h" - - //#define STK_DEBUG -@@ -54,7 +55,7 @@ - - /* Load a PNG type image from an SDL datasource */ - #define IMG_SetError SDL_SetError --static void png_read_data(png_structp ctx, png_bytep area, png_size_t size) -+static void local_png_read_data(png_structp ctx, png_bytep area, png_size_t size) - { - SDL_RWops *src; - -@@ -111,7 +112,7 @@ - } - - /* Set up the input control */ -- png_set_read_fn(png_ptr, src, png_read_data); -+ png_set_read_fn(png_ptr, src, local_png_read_data); - - /* Read PNG header info */ - png_read_info(png_ptr, info_ptr); |