texlive[46338] Build/source/libs/icu: define _ISOC99_SOURCE on netbsd

commits+karl at tug.org commits+karl at tug.org
Tue Jan 16 23:49:59 CET 2018


Revision: 46338
          http://tug.org/svn/texlive?view=revision&revision=46338
Author:   karl
Date:     2018-01-16 23:49:59 +0100 (Tue, 16 Jan 2018)
Log Message:
-----------
define _ISOC99_SOURCE on netbsd

Modified Paths:
--------------
    trunk/Build/source/libs/icu/TLpatches/ChangeLog
    trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd
    trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h

Modified: trunk/Build/source/libs/icu/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/libs/icu/TLpatches/ChangeLog	2018-01-16 22:46:28 UTC (rev 46337)
+++ trunk/Build/source/libs/icu/TLpatches/ChangeLog	2018-01-16 22:49:59 UTC (rev 46338)
@@ -1,3 +1,7 @@
+2018-01-16  Karl Berry  <karl at freefriends.org>
+
+	* patch-19-netbsd [__NetBSD__]: new patch, defining _ISOC99_SOURCE.
+
 2018-01-16  Karl Berry  <karl at tug.org>
 
 	* patch-02-configure-solaris: add.

Modified: trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd
===================================================================
--- trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd	2018-01-16 22:46:28 UTC (rev 46337)
+++ trunk/Build/source/libs/icu/TLpatches/patch-19-netbsd	2018-01-16 22:49:59 UTC (rev 46338)
@@ -1,15 +1,15 @@
-	Per Marc Baudoin, tlbuild 17 Mar 2017 10:03:03.
+	Date: Sat, 13 Jan 2018 14:28:11 +0100
+	From: Marc Baudoin <babafou at babafou.eu.org>
+	tlbuild
 
-Not applied for icu-60.2, since they have a new U_HAVE_XLOCALE_H.
-
---- source/i18n/digitlst.cpp	(revision 43522)
-+++ source/i18n/digitlst.cpp	(working copy)
-@@ -61,7 +61,7 @@
+--- icu-src/source/common/uposixdefs.h	(revision 46329)
++++ icu-src/source/common/uposixdefs.h	(working copy)
+@@ -71,4 +71,8 @@
+ #   define _STDC_C99
  #endif
  
- #if U_USE_STRTOD_L
--# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
-+# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN || defined(__NetBSD__)
- #   include <locale.h>
- # else
- #   include <xlocale.h>
++#if defined(__cplusplus) && defined(__NetBSD__)
++#define _ISOC99_SOURCE
++#endif
++
+ #endif  /* __UPOSIXDEFS_H__ */

Modified: trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h
===================================================================
--- trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h	2018-01-16 22:46:28 UTC (rev 46337)
+++ trunk/Build/source/libs/icu/icu-src/source/common/uposixdefs.h	2018-01-16 22:49:59 UTC (rev 46338)
@@ -71,4 +71,8 @@
 #   define _STDC_C99
 #endif
 
+#if defined(__cplusplus) && defined(__NetBSD__)
+#define _ISOC99_SOURCE
+#endif
+
 #endif  /* __UPOSIXDEFS_H__ */



More information about the tex-live-commits mailing list