summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/links/files/links-2.3_pre1-libpng-1.5.patch')
-rw-r--r--www-client/links/files/links-2.3_pre1-libpng-1.5.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/www-client/links/files/links-2.3_pre1-libpng-1.5.patch b/www-client/links/files/links-2.3_pre1-libpng-1.5.patch
deleted file mode 100644
index 81b3c69b2a03..000000000000
--- a/www-client/links/files/links-2.3_pre1-libpng-1.5.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- png.c.orig 2011-02-20 12:47:07.000000000 -0500
-+++ png.c 2011-02-20 12:47:58.000000000 -0500
-@@ -48,7 +48,7 @@
- /* Error for from-web PNG images. */
- void img_my_png_error(png_structp png_ptr, png_const_charp error_string)
- {
-- longjmp(png_ptr->jmpbuf,1);
-+ longjmp(png_jmpbuf(png_ptr),1);
- }
-
- void png_info_callback(png_structp png_ptr, png_infop info_ptr)
-@@ -204,7 +204,7 @@
- #ifdef DEBUG
- if (!info_ptr) internal ("png_create_info_struct failed\n");
- #endif /* #ifdef DEBUG */
-- if (setjmp(png_ptr->jmpbuf)){
-+ if (setjmp(png_jmpbuf(png_ptr))){
- error:
- png_destroy_read_struct(&png_ptr, &info_ptr,
- (png_infopp)NULL);
-@@ -214,7 +214,7 @@
- png_set_progressive_read_fn(png_ptr, NULL,
- png_info_callback, png_row_callback,
- png_end_callback);
-- if (setjmp(png_ptr->jmpbuf)) goto error;
-+ if (setjmp(png_jmpbuf(png_ptr))) goto error;
- decoder=mem_alloc(sizeof(*decoder));
- decoder->png_ptr=png_ptr;
- decoder->info_ptr=info_ptr;
-@@ -233,7 +233,7 @@
- png_ptr=((struct png_decoder *)(cimg->decoder))->png_ptr;
- info_ptr=((struct png_decoder *)(cimg->decoder))->info_ptr;
- end_callback_hit=0;
-- if (setjmp(png_ptr->jmpbuf)){
-+ if (setjmp(png_jmpbuf(png_ptr))){
- img_end(cimg);
- return;
- }