git: e1e2080fc1ce - main - Import Juniper libxo-1.6.0

From: Phil Shafer <phil_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 18:38:26 UTC
The branch main has been updated by phil:

URL: https://cgit.FreeBSD.org/src/commit/?id=e1e2080fc1ce59cc2ef3ba4ae6031cd550d75bed

commit e1e2080fc1ce59cc2ef3ba4ae6031cd550d75bed
Author:     Phil Shafer <phil@FreeBSD.org>
AuthorDate: 2023-01-30 18:35:27 +0000
Commit:     Phil Shafer <phil@FreeBSD.org>
CommitDate: 2023-01-30 18:37:33 +0000

    Import Juniper libxo-1.6.0
    
    PR:             262332
---
 lib/libxo/add.man           |  4 ++--
 lib/libxo/libxo/xo_config.h | 17 ++++++++++-------
 usr.bin/xohtml/xohtml.sh    |  2 +-
 3 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/lib/libxo/add.man b/lib/libxo/add.man
index d4e2bc3c0ea0..ff520fa14be8 100644
--- a/lib/libxo/add.man
+++ b/lib/libxo/add.man
@@ -3,10 +3,10 @@
 .Fx
 uses
 .Nm libxo
-version 1.4.0.
+version 1.6.0.
 Complete documentation can be found on github:
 .Bd -literal -offset indent
-https://juniper.github.io/libxo/1.4.0/html/index.html
+https://juniper.github.io/libxo/1.6.0/html/index.html
 .Ed
 .Pp
 .Nm libxo
diff --git a/lib/libxo/libxo/xo_config.h b/lib/libxo/libxo/xo_config.h
index 079eef508ad1..3a160d9836e3 100644
--- a/lib/libxo/libxo/xo_config.h
+++ b/lib/libxo/libxo/xo_config.h
@@ -48,6 +48,9 @@
 /* Define to 1 if you have the `flock' function. */
 #define HAVE_FLOCK 1
 
+/* Using real gcc */
+/* #undef HAVE_GCC */
+
 /* Define to 1 if you have the `getpass' function. */
 #define HAVE_GETPASS 1
 
@@ -102,7 +105,7 @@
 #define HAVE_SRAND 1
 
 /* Define to 1 if you have the `sranddev' function. */
-#define HAVE_SRANDDEV 1
+/* #undef HAVE_SRANDDEV */
 
 /* Define to 1 if you have the <stdint.h> header file. */
 #define HAVE_STDINT_H 1
@@ -183,16 +186,16 @@
 /* #undef LIBXO_TEXT_ONLY */
 
 /* Version number as dotted value */
-#define LIBXO_VERSION "1.4.0"
+#define LIBXO_VERSION "1.6.0"
 
 /* Version number extra information */
 #define LIBXO_VERSION_EXTRA ""
 
 /* Version number as a number */
-#define LIBXO_VERSION_NUMBER 1004000
+#define LIBXO_VERSION_NUMBER 1006000
 
 /* Version number as string */
-#define LIBXO_VERSION_STRING "1004000"
+#define LIBXO_VERSION_STRING "1006000"
 
 /* Enable local wcwidth implementation */
 #define LIBXO_WCWIDTH 1
@@ -210,7 +213,7 @@
 #define PACKAGE_NAME "libxo"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libxo 1.4.0"
+#define PACKAGE_STRING "libxo 1.6.0"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libxo"
@@ -219,7 +222,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "1.4.0"
+#define PACKAGE_VERSION "1.6.0"
 
 /* If using the C implementation of alloca, define if you know the
    direction of stack growth for your system; otherwise it will be
@@ -236,7 +239,7 @@
 /* #undef USE_INT_RETURN_CODES */
 
 /* Version number of package */
-#define VERSION "1.4.0"
+#define VERSION "1.6.0"
 
 /* Retain hash bucket size */
 /* #undef XO_RETAIN_SIZE */
diff --git a/usr.bin/xohtml/xohtml.sh b/usr.bin/xohtml/xohtml.sh
index 3eb7901483a7..f96aa3c37288 100755
--- a/usr.bin/xohtml/xohtml.sh
+++ b/usr.bin/xohtml/xohtml.sh
@@ -12,7 +12,7 @@
 #
 
 BASE=/usr/share/libxo
-VERSION=1.4.0
+VERSION=1.6.0
 CMD=cat
 DONE=
 WEB=http://juniper.github.io/libxo/${VERSION}/xohtml