diff options
author | 2021-04-29 21:54:50 -0400 | |
---|---|---|
committer | 2021-04-29 21:55:59 -0400 | |
commit | 284fa7b9c84407be55015e601768262d5c2c0f0d (patch) | |
tree | 863d42d20b3616a6707199b30470ecea97ed77cb /x11-libs/gtksourceview/files | |
parent | dev-libs/fribidi: Set CC_FOR_BUILD. (diff) | |
download | gentoo-284fa7b9c84407be55015e601768262d5c2c0f0d.tar.gz gentoo-284fa7b9c84407be55015e601768262d5c2c0f0d.tar.bz2 gentoo-284fa7b9c84407be55015e601768262d5c2c0f0d.zip |
x11-libs/gtksourceview: Add patch to build with GCC-11
I mistakenly thought this patch was included in the v4.8.1 release when
I added it and closed bug #732784.
Closes: https://bugs.gentoo.org/732784
Closes: https://bugs.gentoo.org/786630
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/gtksourceview/files')
-rw-r--r-- | x11-libs/gtksourceview/files/4.8.1-build-disable-Werror-for-incompatible-pointer-types.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-libs/gtksourceview/files/4.8.1-build-disable-Werror-for-incompatible-pointer-types.patch b/x11-libs/gtksourceview/files/4.8.1-build-disable-Werror-for-incompatible-pointer-types.patch new file mode 100644 index 000000000000..e13a65c3bc4d --- /dev/null +++ b/x11-libs/gtksourceview/files/4.8.1-build-disable-Werror-for-incompatible-pointer-types.patch @@ -0,0 +1,33 @@ +From d1ed58b2ab82bd5be55881088fc17ff1527511db Mon Sep 17 00:00:00 2001 +From: Christian Hergert <chergert@redhat.com> +Date: Thu, 15 Apr 2021 08:11:22 -0700 +Subject: [PATCH] build: disable -Werror for incompatible-pointer-types + +This causes an issue with volatile and GLib in some configurations, so +just keep it out for now. We will bring it back at some point going +forward. + +We are already doing the same in 5.0. + +Fixes #179 +--- + meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 826a3121..6ff5b155 100644 +--- a/meson.build ++++ b/meson.build +@@ -181,7 +181,8 @@ else + '-Werror=empty-body', + '-Werror=implicit', + '-Werror=implicit-function-declaration', +- '-Werror=incompatible-pointer-types', ++ # Disabled due to volatile changes in GLib ++ # '-Werror=incompatible-pointer-types', + '-Werror=init-self', + '-Werror=int-conversion', + '-Werror=int-to-pointer-cast', +-- +2.26.3 + |