Tue Jun 29 15:13:24 2021 UTC ()
links: update to 2.23.

=== RELEASE 2.23 ===

Tue May 18 20:35:55 CEST 2021 mikulas:

	Fix a bug that the user could set floating-point parameters to nan
	via command-line argument or config file option

Tue May 18 20:22:35 CEST 2021 mikulas:

	Fix broken display if the user uses custom font and non-default
	aspect ratio

Wed May 12 20:08:48 CEST 2021 mikulas:

	Fix a bug that the code incorrectly assumed that mktime returns UTC

Sat May  1 17:56:50 CEST 2021 mikulas:

	Add an option that enables cookie saving


(fcambus)
diff -r1.76 -r1.77 pkgsrc/www/links/Makefile.common
diff -r1.77 -r1.78 pkgsrc/www/links/distinfo
diff -r1.9 -r0 pkgsrc/www/links/patches/patch-ab
diff -r0 -r1.1 pkgsrc/www/links/patches/patch-configure
diff -r1.1 -r1.2 pkgsrc/www/links/patches/patch-x.c

cvs diff -r1.76 -r1.77 pkgsrc/www/links/Makefile.common (expand / switch to context diff)
--- pkgsrc/www/links/Makefile.common 2021/04/18 19:46:36 1.76
+++ pkgsrc/www/links/Makefile.common 2021/06/29 15:13:23 1.77
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.76 2021/04/18 19:46:36 fcambus Exp $
+# $NetBSD: Makefile.common,v 1.77 2021/06/29 15:13:23 fcambus Exp $
 #
 # used by www/links/Makefile
 # used by www/links-gui/Makefile
 
-DISTNAME=	links-2.22
+DISTNAME=	links-2.23
 CATEGORIES=	www
 MASTER_SITES=	http://links.twibright.com/download/
 EXTRACT_SUFX=	.tar.bz2

cvs diff -r1.77 -r1.78 pkgsrc/www/links/distinfo (expand / switch to context diff)
--- pkgsrc/www/links/distinfo 2021/04/18 19:46:36 1.77
+++ pkgsrc/www/links/distinfo 2021/06/29 15:13:23 1.78
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.77 2021/04/18 19:46:36 fcambus Exp $
+$NetBSD: distinfo,v 1.78 2021/06/29 15:13:23 fcambus Exp $
 
-SHA1 (links-2.22.tar.bz2) = dc4ad1fb400ada87343228a5965318a68328e35b
+SHA1 (links-2.23.tar.bz2) = 4077d341f9ea2e300319ee3fb972918cf4f703a1
-RMD160 (links-2.22.tar.bz2) = 218451319593cf4cd7b538ba65a06a5abb0b5cae
+RMD160 (links-2.23.tar.bz2) = 34bea8d9a625280abe62a78ce98d56a73fab15cb
-SHA512 (links-2.22.tar.bz2) = d2c9f764d64c2d73b85c998db9fc8c241556977380eef1f4041623ca306f5798227b2b57daecf09ee85e0b07f8738bdfe0b84fefc924d6e05d931e29d29ba40e
+SHA512 (links-2.23.tar.bz2) = 3c233dab2e7e5ca72f582c5af9c5799b3d6c1a5a64d4e9e0209f78f347a245dc760c2340f71839fd42e1c9f358599b8baa12aa024938f2ab1b6424c8fb0b9a7d
-Size (links-2.22.tar.bz2) = 6481705 bytes
+Size (links-2.23.tar.bz2) = 6521143 bytes
-SHA1 (patch-ab) = 3856b53ea6c17d72ca569acf1128ae40d2439ffb
+SHA1 (patch-configure) = 047d48d898f674f5f0b18c700e6296fe180380e2
-SHA1 (patch-x.c) = e4291e08437efd1147cfce88530fc662152df346
+SHA1 (patch-x.c) = 3aff5484e803495febf417bb5c2b9e3d79a265d4

File Deleted: pkgsrc/www/links/patches/Attic/patch-ab

File Added: pkgsrc/www/links/patches/patch-configure
$NetBSD: patch-configure,v 1.1 2021/06/29 15:13:24 fcambus Exp $

--- configure.orig	2021-05-21 18:46:59.000000000 +0000
+++ configure
@@ -850,10 +850,10 @@ fi
 
 
 
-ACLOCAL="./missing aclocal"
-AUTOCONF="./missing autoconf"
-AUTOMAKE="./missing automake"
-AUTOHEADER="./missing autoheader"
+ACLOCAL="aclocal"
+AUTOCONF="autoconf"
+AUTOMAKE="automake"
+AUTOHEADER="autoheader"
 
 export CC
 export CPPFLAGS

cvs diff -r1.1 -r1.2 pkgsrc/www/links/patches/patch-x.c (expand / switch to context diff)
--- pkgsrc/www/links/patches/patch-x.c 2020/11/15 20:36:37 1.1
+++ pkgsrc/www/links/patches/patch-x.c 2021/06/29 15:13:24 1.2
@@ -1,8 +1,10 @@
-$NetBSD: patch-x.c,v 1.1 2020/11/15 20:36:37 nat Exp $
+$NetBSD: patch-x.c,v 1.2 2021/06/29 15:13:24 fcambus Exp $
+
 Fix display for color depths lower than 4bpp.
---- x.c.orig	2019-08-28 13:01:46.000000000 +0000
+
+--- x.c.orig	2021-01-27 20:31:20.000000000 +0000
 +++ x.c
-@@ -1663,12 +1663,12 @@ static unsigned char *x_init_driver(unsi
+@@ -1665,12 +1665,12 @@ static unsigned char *x_init_driver(unsi
  
  	/* find best visual */
  	{
@@ -18,7 +20,7 @@
  				continue;
  			if (classes[b] == TrueColor && depths[a] <= 8)
  				continue;
-@@ -1696,11 +1696,13 @@ bytes_per_pixel_found:
+@@ -1698,11 +1698,13 @@ bytes_per_pixel_found:
  				/* test misordered flag */
  				/*debug("x_depth %d, x_bitmap_bpp %d %lx %lx %lx %s", x_depth, x_bitmap_bpp, vinfo.red_mask, vinfo.green_mask, vinfo.blue_mask, x_bitmap_bit_order == MSBFirst ? "MSBFirst" : "LSBFirst");*/
  				switch (x_depth) {
@@ -33,7 +35,7 @@
  							misordered = 0;
  							goto visual_found;
  						}
-@@ -1755,7 +1757,7 @@ visual_found:
+@@ -1757,7 +1759,7 @@ visual_found:
  	x_driver.flags &= ~GD_SWITCH_PALETTE;
  	x_have_palette = 0;
  	x_use_static_color_table = 0;
@@ -42,7 +44,7 @@
  		if (x_depth > 8)
  			return stracpy(cast_uchar "Static color supported for up to 8-bit depth.\n");
  		if ((err = x_query_palette()))
-@@ -2219,13 +2221,32 @@ static void x_translate_colors(unsigned 
+@@ -2221,13 +2223,32 @@ static void x_translate_colors(unsigned 
  		return;
  	}