summaryrefslogtreecommitdiff
path: root/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch')
-rw-r--r--net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch b/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch
new file mode 100644
index 000000000000..83b03680cd44
--- /dev/null
+++ b/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/851522
+https://github.com/Perl/perl5/issues/19382
+--- a/meson.build
++++ b/meson.build
+@@ -553,9 +553,6 @@ configure_file(output : 'irssi-config.h',
+ # CFLAGS #
+ ##########
+
+-#### warnings ####
+-add_project_arguments(cc.get_supported_arguments('-Werror=declaration-after-statement'), language : 'c')
+-
+ #### personality ####
+ add_project_arguments(cc.get_supported_arguments('-fno-strict-aliasing'), language : 'c')
+ if get_option('buildtype').contains('debug')