lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] ANN: lynx2.9.0dev.7


From: Thomas Dickey
Subject: Re: [Lynx-dev] ANN: lynx2.9.0dev.7
Date: Tue, 27 Jul 2021 17:31:10 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

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 <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]