From: Jeremie Courreges-Anglas Subject: Re: libnotify, fix compile with gcc4 To: Antoine Jacoutot Cc: ports@openbsd.org Date: Thu, 6 Nov 2025 14:46:26 +0100 On Thu, Nov 06, 2025 at 01:15:37PM +0100, Claudio Jeker wrote: > In libnotify the function > notification_app_launch_context_get_startup_notify_id() > lacks parameter names for the unused arguments. gcc4 really dislikes that. > > With this libnotify builds and unlocks a fair amount of the ports tree. Sure, ok jca@ > -- > :wq Claudio > > Index: patches/patch-libnotify_launch-context_c > =================================================================== > RCS file: patches/patch-libnotify_launch-context_c > diff -N patches/patch-libnotify_launch-context_c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-libnotify_launch-context_c 6 Nov 2025 10:37:44 -0000 > @@ -0,0 +1,16 @@ > +launch-context.c:52: error: parameter name omitted > + > +Index: libnotify/launch-context.c > +--- libnotify/launch-context.c.orig > ++++ libnotify/launch-context.c > +@@ -49,8 +49,8 @@ notification_app_launch_context_finalize (GObject *obj > + > + static char * > + notification_app_launch_context_get_startup_notify_id (GAppLaunchContext *context, > +- GAppInfo *, > +- GList *) > ++ GAppInfo *info, > ++ GList *list) > + { > + NotificationAppLaunchContext *self = NOTIFICATION_APP_LAUNCH_CONTEXT (context); > + > -- jca