summaryrefslogtreecommitdiff
path: root/www/links/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-11-28 15:05:31 +0000
committerwiz <wiz@pkgsrc.org>2011-11-28 15:05:31 +0000
commit431c6a7da64029b74599381c6dc79f85ee0bd808 (patch)
tree9b902ab3034f5687378431475a14717b2d5986e1 /www/links/patches
parent7c640a4bfcbe6e58396253748203802758445126 (diff)
downloadpkgsrc-431c6a7da64029b74599381c6dc79f85ee0bd808.tar.gz
Update to 2.4:
=== RELEASE 2.4 === Sat Nov 19 01:21:25 MET 2011 mikulas: Do not translate '\' to '/' in HTTP requests Sat Nov 19 01:19:12 MET 2011 mikulas: Do not test for existing strings when loading links history file => avoid quadratic-complexity on startup Sat Nov 19 01:18:59 MET 2011 mikulas: Fixed a possible memory leak on Windows Wed Nov 16 17:59:49 MET 2011 mikulas: Fixed a crash on systems that don't have strerror Fri Nov 11 23:22:25 CEST 2011 mikulas: Fixed a crash in Windows console code Wed Oct 12 22:08:39 MET 2011 mikulas: Fixed a possible crash if the user changes socks dns append string while socks connection is in progress Sun Sep 25 18:40:57 MET 2011 mikulas: Do not send '#' in the url when downloading Sun Sep 18 16:57:38 CEST 2011 mikulas: Fixed crashes with libpng-1.5 Fri Sep 16 20:16:01 CEST 2011 mikulas: Fixed bugs in the directfb driver Fri Sep 16 18:40:41 CEST 2011 mikulas: Workaround for icc optimization bug on framebuffer Don't clear the whole framebuffer, clear just an used area (fixes problems with Nvidia framebuffer) Tue Sep 13 23:13:52 CEST 2011 mikulas: Make it compile with OpenWatcom for Linux Note: because of unimplemented "gethostbyname" function, it requires installed "host" command to do name lookups Tue Sep 13 03:53:06 cet 2011 mikulas: Try to free internal caches when out of memory happens Mon Sep 12 19:57:13 CEST 2011 mikulas: Fixed a crash when cache is flushed while auth dialog is displayed Sun Sep 11 02:02:09 MET 2011 mikulas: Reduced memory consumption Don't reformat plain text if window size changes
Diffstat (limited to 'www/links/patches')
-rw-r--r--www/links/patches/patch-aa45
-rw-r--r--www/links/patches/patch-dip.c44
2 files changed, 0 insertions, 89 deletions
diff --git a/www/links/patches/patch-aa b/www/links/patches/patch-aa
deleted file mode 100644
index fae1abb2081..00000000000
--- a/www/links/patches/patch-aa
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2011/05/02 13:17:47 wiz Exp $
-
-Fix build with png-1.5.
-
---- png.c.orig 2011-04-19 15:17:49.000000000 +0000
-+++ png.c
-@@ -38,7 +38,11 @@ static void img_my_png_warning(png_struc
- /* Error for from-web PNG images. */
- static void img_my_png_error(png_structp png_ptr, png_const_charp error_string)
- {
-+#if (PNG_LIBPNG_VER < 10500)
- longjmp(png_ptr->jmpbuf,1);
-+#else
-+ png_longjmp(png_ptr,1);
-+#endif
- }
-
- static void png_info_callback(png_structp png_ptr, png_infop info_ptr)
-@@ -196,7 +200,7 @@ void png_start(struct cached_image *cimg
- #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);
-@@ -206,7 +210,7 @@ error:
- 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;
-@@ -225,7 +229,7 @@ void png_restart(struct cached_image *ci
- 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;
- }
diff --git a/www/links/patches/patch-dip.c b/www/links/patches/patch-dip.c
deleted file mode 100644
index cdcc41054a9..00000000000
--- a/www/links/patches/patch-dip.c
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-dip.c,v 1.1 2011/05/11 16:46:16 wiz Exp $
-
-From John Bowler <jbowler@acm.org>:
-It's two bugs: one, the obvious one, in the two calls to
-png_set_rgb_to_gray() in dip.c; that should be *DIVIDED* by 256,
-not multiplied!
-
-The other is that there is *NO* error handling, no call to setjmp();
-so when png_error is called the call stack ends up destroyed and,
-apparently, the program dies in create_read_struct_2, right after
-the comment that explains why libpng is about to call abort() ;-)
-
-The attached patch fixes both problems, but links will still error
-out on a png_error (just with an OOM message, not an abort()).
-
---- dip.c.orig 2011-04-19 15:17:48.000000000 +0000
-+++ dip.c
-@@ -1422,6 +1422,8 @@ unsigned char *png_data, int png_length,
-
- png_ptr=png_create_read_struct(PNG_LIBPNG_VER_STRING,
- NULL, my_png_error, my_png_warning);
-+ if (setjmp(png_jmpbuf(png_ptr)))
-+ overalloc(); /* some error detected by libpng */
- info_ptr=png_create_info_struct(png_ptr);
- png_set_read_fn(png_ptr,&work,(png_rw_ptr)&read_stored_data);
- png_read_info(png_ptr, info_ptr);
-@@ -1448,7 +1450,7 @@ unsigned char *png_data, int png_length,
- if (color_type==PNG_COLOR_TYPE_PALETTE){
- png_set_expand(png_ptr);
- #ifdef HAVE_PNG_SET_RGB_TO_GRAY
-- png_set_rgb_to_gray(png_ptr,1,54.0*256,183.0*256);
-+ png_set_rgb_to_gray(png_ptr,1,54.0/256,183.0/256);
- #else
- goto end;
- #endif
-@@ -1459,7 +1461,7 @@ unsigned char *png_data, int png_length,
- if (color_type==PNG_COLOR_TYPE_RGB ||
- color_type==PNG_COLOR_TYPE_RGB_ALPHA){
- #ifdef HAVE_PNG_SET_RGB_TO_GRAY
-- png_set_rgb_to_gray(png_ptr, 1, 54.0*256, 183.0*256);
-+ png_set_rgb_to_gray(png_ptr, 1, 54.0/256, 183.0/256);
- #else
- goto end;
- #endif