texlive[72716] Build/source/libs/icu: netbsd: revert _ISOC99_SOURCE,

commits+karl at tug.org commits+karl at tug.org
Thu Oct 31 01:32:46 CET 2024


Revision: 72716
          https://tug.org/svn/texlive?view=revision&revision=72716
Author:   karl
Date:     2024-10-31 01:32:46 +0100 (Thu, 31 Oct 2024)
Log Message:
-----------
netbsd: revert _ISOC99_SOURCE, add uchar.h condition; from Marc

Modified Paths:
--------------
    trunk/Build/source/libs/icu/ChangeLog
    trunk/Build/source/libs/icu/TLpatches/ChangeLog
    trunk/Build/source/libs/icu/icu-src/source/common/unicode/ptypes.h
    trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h

Added Paths:
-----------
    trunk/Build/source/libs/icu/TLpatches/patch-18-uchar

Removed Paths:
-------------
    trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd

Modified: trunk/Build/source/libs/icu/ChangeLog
===================================================================
--- trunk/Build/source/libs/icu/ChangeLog	2024-10-30 20:04:49 UTC (rev 72715)
+++ trunk/Build/source/libs/icu/ChangeLog	2024-10-31 00:32:46 UTC (rev 72716)
@@ -1,3 +1,16 @@
+2024-10-30  Karl Berry  <karl at freefriends.org>
+
+	* icu-src/source/common/uposixdefs.h: undo #define of
+	 _ISOC99_SOURCE on __NETBSD__, what was patch-19-netbsd,
+	 now delete. (See TLpatches/ChangeLog).
+	 * icu-src/source/common/unicode/ptypes.h [U_PLATFORM_IS_LINUX_BASED]:
+	 add conditional for #include <uchar.h>.
+
+2024-10-27  Karl Berry  <karl at freefriends.org>
+
+	* Import 76.2.
+	(version.ac): update.
+
 2023-12-22  Karl Berry  <karl at freefriends.org>
 
 	* Import 74.2.

Modified: trunk/Build/source/libs/icu/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/libs/icu/TLpatches/ChangeLog	2024-10-30 20:04:49 UTC (rev 72715)
+++ trunk/Build/source/libs/icu/TLpatches/ChangeLog	2024-10-31 00:32:46 UTC (rev 72716)
@@ -1,3 +1,10 @@
+2024-10-30  Karl Berry  <karl at freefriends.org>
+
+	* 
+	* patch-19-netbsd: remove
+	Per Marc Baudoin,
+	https://tug.org/pipermail/tlbuild/2024q4/005581.html
+
 2024-10-27  Karl Berry  <karl at freefriends.org>
 
 	Update for icu-76.1.

Added: trunk/Build/source/libs/icu/TLpatches/patch-18-uchar
===================================================================
--- trunk/Build/source/libs/icu/TLpatches/patch-18-uchar	                        (rev 0)
+++ trunk/Build/source/libs/icu/TLpatches/patch-18-uchar	2024-10-31 00:32:46 UTC (rev 72716)
@@ -0,0 +1,12 @@
+	From Marc Baudoin.
+	https://tug.org/pipermail/tlbuild/2024q4/005581.html
+
+--- source/common/unicode/ptypes.h~	2024-10-24 11:24:00.000000000 -0700
++++ source/common/unicode/ptypes.h	2024-10-30 17:25:22.442817993 -0700
+@@ -57,5 +57,5 @@
+ // ICU4C must detect and deal with that.
+ #if !defined(__cplusplus) && !defined(U_IN_DOXYGEN)
+-#   if U_HAVE_CHAR16_T
++#   if U_HAVE_CHAR16_T && U_PLATFORM_IS_LINUX_BASED
+ #       include <uchar.h>
+ #   else

Deleted: trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd
===================================================================
--- trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd	2024-10-30 20:04:49 UTC (rev 72715)
+++ trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd	2024-10-31 00:32:46 UTC (rev 72716)
@@ -1,14 +0,0 @@
-	Date: Sat, 13 Jan 2018 14:28:11 +0100
-	From: Marc Baudoin <babafou at babafou.eu.org>
-	tlbuild
-
---- source/common/uposixdefs.h~	2023-12-11 14:27:41.000000000 -0800
-+++ source/common/uposixdefs.h	2023-12-22 09:06:04.056017024 -0800
-@@ -75,3 +75,7 @@
- #endif
- 
-+#if defined(__cplusplus) && defined(__NetBSD__)
-+#define _ISOC99_SOURCE
-+#endif
-+
- #endif  /* __UPOSIXDEFS_H__ */

Modified: trunk/Build/source/libs/icu/icu-src/source/common/unicode/ptypes.h
===================================================================
--- trunk/Build/source/libs/icu/icu-src/source/common/unicode/ptypes.h	2024-10-30 20:04:49 UTC (rev 72715)
+++ trunk/Build/source/libs/icu/icu-src/source/common/unicode/ptypes.h	2024-10-31 00:32:46 UTC (rev 72716)
@@ -56,7 +56,7 @@
 // implementations (looking at you, Apple, spring 2024) actually do this, so
 // ICU4C must detect and deal with that.
 #if !defined(__cplusplus) && !defined(U_IN_DOXYGEN)
-#   if U_HAVE_CHAR16_T
+#   if U_HAVE_CHAR16_T && U_PLATFORM_IS_LINUX_BASED
 #       include <uchar.h>
 #   else
         typedef uint16_t char16_t;

Modified: trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h
===================================================================
--- trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h	2024-10-30 20:04:49 UTC (rev 72715)
+++ trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h	2024-10-31 00:32:46 UTC (rev 72716)
@@ -74,8 +74,4 @@
 #define _POSIX_C_SOURCE 200809L
 #endif
 
-#if defined(__cplusplus) && defined(__NetBSD__)
-#define _ISOC99_SOURCE
-#endif
-
 #endif  /* __UPOSIXDEFS_H__ */



More information about the tex-live-commits mailing list.