deskutils/notify-osd: Fix build with clang15

Notified by:	pkg-fallout
This commit is contained in:
Emanuel Haupt 2023-02-14 16:37:44 +01:00
parent 191ffa25ac
commit e33fdb8476
2 changed files with 14 additions and 1 deletions

View file

@ -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

View file

@ -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