mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-09 22:50:34 +02:00
* gnu/packages/icu4c.scm (icu4c-78): New variable. * gnu/local.mk (dist_patch_DATA): Add icu4c patches. * gnu/packages/patches/icu4c-78-double-conversion.patch: New file. * gnu/packages/patches/icu4c-bug-1706949-wasi-workaround.patch: New file. * gnu/packages/patches/icu4c-bug-1790071-ICU-22132-standardize-vtzone-output.patch: New file. * gnu/packages/patches/icu4c-bug-1856290-ICU-20548-dateinterval-timezone.patch: New file. * gnu/packages/patches/icu4c-bug-1954138-dtitvfmt-adopt-calendar.patch: New file. * gnu/packages/patches/icu4c-bug-1972781-chinese-based-calendar.patch: New file. * gnu/packages/patches/icu4c-bug-2000225-ICU-23264-increase-measure-unit-capacity.patch: New file. * gnu/packages/patches/icu4c-bug-2002735-ICU-23277-coptic-single-era.patch: New file. * gnu/packages/patches/icu4c-suppress-warnings.patch: New file.
81 lines
2.7 KiB
Diff
81 lines
2.7 KiB
Diff
diff --git a/source/acinclude.m4 b/source/acinclude.m4
|
|
--- a/source/acinclude.m4
|
|
+++ b/source/acinclude.m4
|
|
@@ -459,30 +459,36 @@ AC_DEFUN([AC_CHECK_STRICT_COMPILE],
|
|
], [ac_use_strict_options=yes])
|
|
AC_MSG_RESULT($ac_use_strict_options)
|
|
|
|
if test "$ac_use_strict_options" = yes
|
|
then
|
|
if test "$GCC" = yes
|
|
then
|
|
CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
|
|
+
|
|
+ # Suppress clang C warnings:
|
|
+ CFLAGS="$CFLAGS -Wno-sign-compare -Wno-unused"
|
|
else
|
|
case "${host}" in
|
|
*-*-cygwin)
|
|
if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
|
|
then
|
|
CFLAGS="$CFLAGS /W4"
|
|
fi ;;
|
|
*-*-mingw*)
|
|
CFLAGS="$CFLAGS -W4" ;;
|
|
esac
|
|
fi
|
|
if test "$GXX" = yes
|
|
then
|
|
CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
|
|
+
|
|
+ # Suppress clang C++ warnings:
|
|
+ CXXFLAGS="$CXXFLAGS -Wno-unused -Wno-unused-parameter"
|
|
else
|
|
case "${host}" in
|
|
*-*-cygwin)
|
|
if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
|
|
then
|
|
CXXFLAGS="$CXXFLAGS /W4"
|
|
fi ;;
|
|
*-*-mingw*)
|
|
diff --git a/source/configure b/source/configure
|
|
--- a/source/configure
|
|
+++ b/source/configure
|
|
@@ -5227,30 +5227,36 @@ fi
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5
|
|
printf "%s\n" "$ac_use_strict_options" >&6; }
|
|
|
|
if test "$ac_use_strict_options" = yes
|
|
then
|
|
if test "$GCC" = yes
|
|
then
|
|
CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
|
|
+
|
|
+ # Suppress clang C warnings:
|
|
+ CFLAGS="$CFLAGS -Wno-sign-compare -Wno-unused"
|
|
else
|
|
case "${host}" in
|
|
*-*-cygwin)
|
|
if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
|
|
then
|
|
CFLAGS="$CFLAGS /W4"
|
|
fi ;;
|
|
*-*-mingw*)
|
|
CFLAGS="$CFLAGS -W4" ;;
|
|
esac
|
|
fi
|
|
if test "$GXX" = yes
|
|
then
|
|
CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
|
|
+
|
|
+ # Suppress clang C++ warnings:
|
|
+ CXXFLAGS="$CXXFLAGS -Wno-unused -Wno-unused-parameter"
|
|
else
|
|
case "${host}" in
|
|
*-*-cygwin)
|
|
if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
|
|
then
|
|
CXXFLAGS="$CXXFLAGS /W4"
|
|
fi ;;
|
|
*-*-mingw*)
|