pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libunistring



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Feb 25 15:13:59 UTC 2024

Modified Files:
        pkgsrc/textproc/libunistring: Makefile distinfo
        pkgsrc/textproc/libunistring/patches: patch-config.h.in
            patch-gnulib-m4_assert__h.m4

Log Message:
libunistring: update to 1.2.

New in 1.2:
* The data tables and algorithms have been updated to Unicode version 15.1.0.
* New functions u8_pcpy, u16_pcpy, u32_pcpy, similar to mempcpy.
* New functions uc_indic_conjunct_break_name, uc_indic_conjunct_break_byname,
  uc_indic_conjunct_break.
* New functions
    uc_is_property_prepended_concatenation_mark,
    uc_is_property_id_compat_math_start, uc_is_property_id_compat_math_continue,
    uc_is_property_ids_unary_operator
  and new constants
    UC_PROPERTY_PREPENDED_CONCATENATION_MARK,
    UC_PROPERTY_ID_COMPAT_MATH_START, UC_PROPERTY_ID_COMPAT_MATH_CONTINUE,
    UC_PROPERTY_IDS_UNARY_OPERATOR.
* New constant _libunistring_unicode_version.
* The UTF-8 decoder functions, especially u8_mbtouc, are now more Unicode
  Standard compliant.
* The *printf functions no longer support the %n directive, for security
  reasons.
* Fixed a bug in the *printf functions: In the %U, %lU, %llU directives, a
  negative width given as an argument did not trigger left-justification.
* The functions u16_strstr and u32_strstr now operate in worst-case linear
  time.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/libunistring/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/libunistring/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/libunistring/patches/patch-config.h.in \
    pkgsrc/textproc/libunistring/patches/patch-gnulib-m4_assert__h.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libunistring/Makefile
diff -u pkgsrc/textproc/libunistring/Makefile:1.17 pkgsrc/textproc/libunistring/Makefile:1.18
--- pkgsrc/textproc/libunistring/Makefile:1.17  Mon Oct 24 13:57:24 2022
+++ pkgsrc/textproc/libunistring/Makefile       Sun Feb 25 15:13:59 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2022/10/24 13:57:24 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2024/02/25 15:13:59 wiz Exp $
 
-DISTNAME=      libunistring-1.1
+DISTNAME=      libunistring-1.2
 CATEGORIES=    textproc
 MASTER_SITES=  http://ftp.gnu.org/gnu/libunistring/
 

Index: pkgsrc/textproc/libunistring/distinfo
diff -u pkgsrc/textproc/libunistring/distinfo:1.15 pkgsrc/textproc/libunistring/distinfo:1.16
--- pkgsrc/textproc/libunistring/distinfo:1.15  Sun Jun 11 00:59:27 2023
+++ pkgsrc/textproc/libunistring/distinfo       Sun Feb 25 15:13:59 2024
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2023/06/11 00:59:27 schmonz Exp $
+$NetBSD: distinfo,v 1.16 2024/02/25 15:13:59 wiz Exp $
 
-BLAKE2s (libunistring-1.1.tar.gz) = f12c729f0f4b7ffd2e47e409b27ad9b7738c1245ad7139f2aa84ae9a4cb5066c
-SHA512 (libunistring-1.1.tar.gz) = 9cb1acc8b39096f30e77ad2f4c6127c3ff01588dbf41389ff294e9b89616d54d6a76cad5748f8dcb70b78ec28100fc1272d4eb9e6527b52e89a1ecac25b43647
-Size (libunistring-1.1.tar.gz) = 4272875 bytes
-SHA1 (patch-config.h.in) = bffe6cab9cbf11beb112b2af3d4c860e24d02782
-SHA1 (patch-gnulib-m4_assert__h.m4) = 51f0658dc7e6124ac8fa235b3b21703f9a77713f
+BLAKE2s (libunistring-1.2.tar.gz) = b97d32f3927bb713b91636c347f006c4a2929a57acd0c49cd03e81b6f9dd0575
+SHA512 (libunistring-1.2.tar.gz) = aaf3421fe19bc25bd0f84ba19412fac1ffe2f5f64911de4ddfbccd24ac83afcc6303ea2925c297ef3b387a741e572bea9de1cee8adc0adf850681b09e013c22d
+Size (libunistring-1.2.tar.gz) = 4469574 bytes
+SHA1 (patch-config.h.in) = 0ee6fdbc33866a0ef9524dcbb32804c5c0578a36
+SHA1 (patch-gnulib-m4_assert__h.m4) = b5667ee9c51a676bdd9bd1e91f176fc2cd1c40cb
 SHA1 (patch-lib_Makefile.in) = f2335fa6a8b088e701a4d8bd433b45359be5c243
 SHA1 (patch-lib_stdbool.mini.h) = 0b4a3b3e461b517f28e9a58da0f50045467d2d2a

Index: pkgsrc/textproc/libunistring/patches/patch-config.h.in
diff -u pkgsrc/textproc/libunistring/patches/patch-config.h.in:1.1 pkgsrc/textproc/libunistring/patches/patch-config.h.in:1.2
--- pkgsrc/textproc/libunistring/patches/patch-config.h.in:1.1  Sun Jun 11 00:59:27 2023
+++ pkgsrc/textproc/libunistring/patches/patch-config.h.in      Sun Feb 25 15:13:59 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-config.h.in,v 1.1 2023/06/11 00:59:27 schmonz Exp $
+$NetBSD: patch-config.h.in,v 1.2 2024/02/25 15:13:59 wiz Exp $
 
 Borrow upstream gnulib commit 0814a293:
 Make static_assert work on Solaris 11.4.
 
---- config.h.in.orig   2022-10-16 20:23:50.000000000 +0000
+--- config.h.in.orig   2024-02-24 13:05:34.000000000 +0000
 +++ config.h.in
-@@ -2298,4 +2298,10 @@
+@@ -2665,6 +2665,12 @@
               && __GNUG__ < 6 && __clang_major__ < 6)))
   #include <assert.h>
   #undef/**/assert
@@ -15,4 +15,6 @@ Make static_assert work on Solaris 11.4.
 +  #undef static_assert
 +  #define static_assert _Static_assert
 + #endif
- #endif
+  #ifdef __sgi
+   #undef/**/__ASSERT_H__
+  #endif
Index: pkgsrc/textproc/libunistring/patches/patch-gnulib-m4_assert__h.m4
diff -u pkgsrc/textproc/libunistring/patches/patch-gnulib-m4_assert__h.m4:1.1 pkgsrc/textproc/libunistring/patches/patch-gnulib-m4_assert__h.m4:1.2
--- pkgsrc/textproc/libunistring/patches/patch-gnulib-m4_assert__h.m4:1.1       Sun Jun 11 00:59:27 2023
+++ pkgsrc/textproc/libunistring/patches/patch-gnulib-m4_assert__h.m4   Sun Feb 25 15:13:59 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-gnulib-m4_assert__h.m4,v 1.1 2023/06/11 00:59:27 schmonz Exp $
+$NetBSD: patch-gnulib-m4_assert__h.m4,v 1.2 2024/02/25 15:13:59 wiz Exp $
 
 Borrow upstream gnulib commit 0814a293:
 Make static_assert work on Solaris 11.4.
 
---- gnulib-m4/assert_h.m4.orig 2022-10-15 19:19:56.000000000 +0000
+--- gnulib-m4/assert_h.m4.orig 2024-01-29 00:58:08.000000000 +0000
 +++ gnulib-m4/assert_h.m4
-@@ -57,5 +57,11 @@ AC_DEFUN([gl_ASSERT_H],
+@@ -60,6 +60,12 @@ AC_DEFUN([gl_ASSERT_H],
               && __GNUG__ < 6 && __clang_major__ < 6)))
   #include <assert.h>
   #undef/**/assert
@@ -15,5 +15,6 @@ Make static_assert work on Solaris 11.4.
 +  #undef static_assert
 +  #define static_assert _Static_assert
 + #endif
- #endif])
- ])
+  #ifdef __sgi
+   #undef/**/__ASSERT_H__
+  #endif



Home | Main Index | Thread Index | Old Index