diff options
Diffstat (limited to '')
-rw-r--r-- | graphics/dc20ctrl/files/patch-pixmaps.c (renamed from graphics/dc20ctrl/files/patch-ad) | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/dc20ctrl/files/patch-ad b/graphics/dc20ctrl/files/patch-pixmaps.c index 982285d0386a..8b910130f60c 100644 --- a/graphics/dc20ctrl/files/patch-ad +++ b/graphics/dc20ctrl/files/patch-pixmaps.c @@ -1,6 +1,14 @@ -diff -ru work/dc20ctrl-0.4/pixmaps.c dc20ctrl-0.4/pixmaps.c ---- work/dc20ctrl-0.4/pixmaps.c Tue Feb 17 09:19:47 1998 -+++ pixmaps.c Mon Feb 5 18:42:18 2001 +--- pixmaps.c.orig 1998-02-17 18:19:47.000000000 +0100 ++++ pixmaps.c 2012-04-30 21:36:08.000000000 +0200 +@@ -446,7 +446,7 @@ + if (p) { + if ((png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL)) != NULL) { + if ((info_ptr = png_create_info_struct(png_ptr)) != NULL) { +- if (setjmp(png_ptr->jmpbuf) == 0) { ++ if (setjmp(png_jmpbuf(png_ptr)) == 0) { + png_init_io(png_ptr, fp); + png_set_IHDR(png_ptr, info_ptr, p->width, p->height, 8, (p->components == 1) ? PNG_COLOR_TYPE_GRAY : PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); + png_write_info(png_ptr, info_ptr); @@ -504,26 +504,32 @@ * Build the image name */ @@ -40,4 +48,3 @@ diff -ru work/dc20ctrl-0.4/pixmaps.c dc20ctrl-0.4/pixmaps.c break; } -Only in dc20ctrl-0.4/: rep |