git: e33fdb84767b - main - deskutils/notify-osd: Fix build with clang15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Feb 2023 15:38:09 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e33fdb84767b08a4bf1cb83ca54ddc0dda34823a
commit e33fdb84767b08a4bf1cb83ca54ddc0dda34823a
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-02-14 15:37:44 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-02-14 15:37:44 +0000
deskutils/notify-osd: Fix build with clang15
Notified by: pkg-fallout
---
deskutils/notify-osd/Makefile | 2 +-
deskutils/notify-osd/files/patch-src_bubble-window.c | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/deskutils/notify-osd/Makefile b/deskutils/notify-osd/Makefile
index ccd136c5f7b7..5664cb9e0938 100644
--- a/deskutils/notify-osd/Makefile
+++ b/deskutils/notify-osd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= notify-osd
PORTVERSION= 0.9.34
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= https://launchpad.net/notify-osd/precise/0.9.34/+download/ \
LOCAL/ehaupt
diff --git a/deskutils/notify-osd/files/patch-src_bubble-window.c b/deskutils/notify-osd/files/patch-src_bubble-window.c
new file mode 100644
index 000000000000..b6e277d4d8fd
--- /dev/null
+++ b/deskutils/notify-osd/files/patch-src_bubble-window.c
@@ -0,0 +1,13 @@
+--- src/bubble-window.c.orig 2012-03-23 14:49:59 UTC
++++ src/bubble-window.c
+@@ -78,8 +78,8 @@ bubble_window_get_accessible (GtkWidget *widget)
+ {
+ AtkObjectFactory *factory = NULL;
+ AtkRegistry *registry = NULL;
+- GType derived_type = NULL;
+- GType derived_atk_type = NULL;
++ GType derived_type = G_TYPE_NONE;
++ GType derived_atk_type = ATK_TYPE_OBJECT;
+
+ /*
+ * Figure out whether accessibility is enabled by looking at the