Re: ANN: lynx2.9.0dev.7

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Tue, Jul 27, 2021 at 02:09:32PM +0200, Gisle Vanem wrote:
> > * modify SGML parsing to allow DEL and INS tags to work on a block-level rather
> >    than only inline (Debian #981351) -TD
> > * modify configure script to check for libidn2, add options menu setting for
> 
> Tried building with 'libidn':
>   WWW/Library/Implementation/HTParse.c(29): fatal error C1083:
>   Cannot open include file: 'idn2.h': No such file or directory
> 
> There is no 'idn2.h' in libidna. But including
> 'idna.h + 'idn-free.h' works.
> 
> But then this error too:
>   WWW/Library/Implementation/HTParse.c(340):
>   error C2065: 'IDN2_OK': undeclared identifier

thanks - I overlooked that (in reviewing, thought I'd tested plain idn).
This works for me with Solaris 11.4.

--- HTParse.c	2021/07/26 19:52:58	1.96
+++ HTParse.c	2021/07/27 21:22:53	1.97
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTParse.c,v 1.95 2021/07/08 22:54:00 tom Exp $
+ * $LynxId: HTParse.c,v 1.96 2021/07/26 19:52:58 tom Exp $
  *
  *		Parse HyperText Document Address		HTParse.c
  *		================================
@@ -26,8 +26,9 @@
 #include <idn2.h>
 #define FreeIdna(out)             idn2_free(out)
 #elif defined(USE_IDNA)
-#include <idn2.h>
+#include <idna.h>
 #define FreeIdna(out)             idn_free(out)
+#define IDN2_OK                   IDNA_SUCCESS
 #endif
 
 #define HEX_ESCAPE '%'


-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
ftp://ftp.invisible-island.net

_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEth+bkly8LTLzN6EeQON0viGhXkkFAmEAexoACgkQQON0viGh
XkmpvA/+Iz0I1bOHDNhpEC6MgZ7edfZHRvegqFg+GztdEkQewd/YLsYMng2XaMtq
l+WTLJpfkQSXvunUrGIMC/xaACW4ID6XlYoTLIfJvbRyG+4NNMX6SDs6dw5Z6hFc
N6PXoR3Ezx3WM7ucEUBBwsNQkwFpXlNiuGGCaE+EirpZhofDV96QSAsIUspSgtqV
1mCRGi/q2dF0OkED4owU4lbNtIhbDKPykp+CqK8FLd7+sm79yk00gpGu+r3QeXjN
Jixd/1A1bFPxugbNWtLKCYPDI5eItWmax4pZjbQkVReCj7TMQmwho3guPEIvZK0K
U1A6c1rPntYW7rkxa6A//P7Ww9QkpLyn80W1s2RZ+hTHG8urqep68B628U2/NrI2
g2mumnAqLi3kVTpI5A+SMt+HFARAhoQ4d20rHAs0pIzi1bW+pyqHhjsWPxl+3VLh
oks7V+kDbtTz6LkrgRqpI1qc6cABuT5OHrAWEoN4hTIfeNdhCQsgkmlRfxkMHLUO
xW3nNaz8x+tNIxzNtALAX6K0E1bCZl5X6xkg+0Tb3m+C9xBsVyq72Vpq+98i2HJM
83XEBEe71AynrWrPhOqd9/9W8kXnJc44uuxci196CIqVLK4zbLj6HxwpoXmrnT8W
ZqyIWzpIChCguYFjrAht/Fy+yctFucsRW5ap/ntLCO2F66sQLyk=
=7yYl
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.