summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2022-09-24 22:29:35 +0900
committerAkinori Hattori <hattya@gentoo.org>2022-09-24 22:31:52 +0900
commit472fd64b5f966e862c8b97add0330753b3668703 (patch)
tree18476a9f68fd256eec87c79dd466ede8b2077706 /app-i18n
parentapp-i18n/uim: update patch (diff)
downloadgentoo-472fd64b5f966e862c8b97add0330753b3668703.tar.gz
gentoo-472fd64b5f966e862c8b97add0330753b3668703.tar.bz2
gentoo-472fd64b5f966e862c8b97add0330753b3668703.zip
app-i18n/uim: fix build with Clang 16+
Closes: https://bugs.gentoo.org/870520 Closes: https://bugs.gentoo.org/870637 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/uim/files/uim-gentoo.patch18
1 files changed, 15 insertions, 3 deletions
diff --git a/app-i18n/uim/files/uim-gentoo.patch b/app-i18n/uim/files/uim-gentoo.patch
index 9b7f1111b17a..649288932259 100644
--- a/app-i18n/uim/files/uim-gentoo.patch
+++ b/app-i18n/uim/files/uim-gentoo.patch
@@ -1,6 +1,6 @@
--- a/configure.ac
+++ b/configure.ac
-@@ -38,6 +38,7 @@
+@@ -56,6 +56,7 @@
AC_PATH_PROGS(SED, sed gsed)
AX_PATH_QMAKE4
AX_PATH_QMAKE5
@@ -8,7 +8,19 @@
AM_MAINTAINER_MODE
-@@ -1618,7 +1619,7 @@
+@@ -575,6 +576,11 @@
+ AC_CHECK_FUNCS([waitpid])
+ AC_CHECK_FUNCS([daemon])
+
++AC_CHECK_DECL([va_copy],
++ [AC_DEFINE(HAVE_VA_COPY, 1, [Define to 1 if you have the `va_copy' macro.])],
++ [AC_CHECK_DECL([__va_copy],
++ [AC_DEFINE(HAVE___VA_COPY, 1, [Define to 1 if you have the `__va_copy' macro.])])])
++
+ # IRIX has a const char return value for gai_strerror()
+ AC_CHECK_FUNCS(gai_strerror,[
+ AC_DEFINE(HAVE_GAI_STRERROR)
+@@ -1637,7 +1643,7 @@
fi
AX_LANG_WNOERROR # end AC_LANG_WERROR
@@ -17,7 +29,7 @@
else
CFLAGS="$CFLAGS -DNDEBUG"
CXXFLAGS="$CXXFLAGS -DNDEBUG"
-@@ -1629,7 +1630,7 @@
+@@ -1648,7 +1654,7 @@
AX_CFLAGS_GCC_OPTION([-Wno-unused-function], [UIM_SCM_CFLAGS])
AX_LANG_WNOERROR # end AC_LANG_WERROR