r15002 - packages/trunk/fenix/debian/patches
Vincent Cheng
vcheng at moszumanska.debian.org
Mon Mar 31 07:42:18 UTC 2014
Author: vcheng
Date: 2014-03-31 07:42:18 +0000 (Mon, 31 Mar 2014)
New Revision: 15002
Modified:
packages/trunk/fenix/debian/patches/fix_ftbfs_libpng1.5.patch
Log:
Get quilt to accept patch by fixing up line endings
Modified: packages/trunk/fenix/debian/patches/fix_ftbfs_libpng1.5.patch
===================================================================
--- packages/trunk/fenix/debian/patches/fix_ftbfs_libpng1.5.patch 2014-03-31 07:34:45 UTC (rev 15001)
+++ packages/trunk/fenix/debian/patches/fix_ftbfs_libpng1.5.patch 2014-03-31 07:42:18 UTC (rev 15002)
@@ -93,21 +93,21 @@
@@ -33,6 +33,7 @@
#define _(String) String
#endif
-
+
+#include <zlib.h>
- #include <png.h>
-
- #define MAXPATH 1024
+ #include <png.h>
+
+ #define MAXPATH 1024
@@ -187,8 +188,11 @@ MAP * png_load (const char * filename)
- if (!info_ptr || !end_info) fatal_error (_("Error loading PNG file")) ;
-
- /* Rutina de error */
--
-+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+ if (!info_ptr || !end_info) fatal_error (_("Error loading PNG file")) ;
+
+ /* Rutina de error */
+-
++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+ if (setjmp(png_jmpbuf(png_ptr)))
+#else
- if (setjmp (png_ptr->jmpbuf))
+ if (setjmp (png_ptr->jmpbuf))
+#endif
- {
- png_destroy_read_struct (&png_ptr, &info_ptr, &end_info) ;
- fclose (png) ;
+ {
+ png_destroy_read_struct (&png_ptr, &info_ptr, &end_info) ;
+ fclose (png) ;
More information about the Pkg-games-commits
mailing list