mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
x11-plugins/purple-libnotify-plus: Update gcc-11 patch
The old patch did not fix the code correctly, so update it to enable the plugin to work. Thanks to Bill Prendergast for providing the patch. Fixes: 8a296ea717812962ffe8a8aef243e3e8c34646d6 Closes: https://bugs.gentoo.org/955791 Bug: https://bugs.gentoo.org/717422 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
parent
d2dd1d1ea6
commit
b28ab1cec6
@ -1,11 +1,33 @@
|
||||
# https://bugs.gentoo.org/955791
|
||||
# https://bugs.gentoo.org/717422
|
||||
# From: Bill Prendergast <dek.devel@baisenvar.info>
|
||||
|
||||
--- a/src/purple-libnotify+-common.h
|
||||
+++ b/src/purple-libnotify+-common.h
|
||||
@@ -27,7 +27,7 @@
|
||||
@@ -27,13 +27,14 @@
|
||||
|
||||
extern PurplePlugin *notify_plus;
|
||||
|
||||
-struct
|
||||
+extern struct
|
||||
+struct notify_plus_data_
|
||||
{
|
||||
gboolean modify_notification;
|
||||
gboolean use_svg;
|
||||
gboolean overlay_icon;
|
||||
gboolean set_transcient;
|
||||
gboolean actions;
|
||||
-} notify_plus_data;
|
||||
+};
|
||||
+extern struct notify_plus_data_ notify_plus_data;
|
||||
|
||||
#endif /* __PURPLE_LIBNOTIFY_PLUS_COMMON_H__ */
|
||||
--- a/src/purple-libnotify+.c
|
||||
+++ b/src/purple-libnotify+.c
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "purple-libnotify+-frames.h"
|
||||
|
||||
PurplePlugin *notify_plus = NULL;
|
||||
+struct notify_plus_data_ notify_plus_data;
|
||||
|
||||
static void
|
||||
_purple_notify_plus_signed_on(PurpleBuddy *buddy, PurplePlugin *plugin)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
Loading…
x
Reference in New Issue
Block a user