Confirmed. I will have a look tomorrow. 
Thanks. 

—
Antoine

> On 26 Nov 2022, at 21:13, Matthieu Herrb <matth...@herrb.eu> wrote:
> 
> On Sat, Nov 26, 2022 at 01:06:42AM -0700, Antoine Jacoutot wrote:
>> CVSROOT:    /cvs
>> Module name:    ports
>> Changes by:    ajacou...@cvs.openbsd.org    2022/11/26 01:06:42
>> 
>> Modified files:
>>    devel/glib2    : Makefile distinfo 
>>    devel/glib2/pkg: PLIST 
>> 
>> Log message:
>> Update to glib2-2.74.2.
>> 
> 
> Hi,
> 
> I've a number of ports (devel/vte3, x11/gnome/gjs,
> www/webkitgtk4,webkitgtk41, ) that fail to build with errors like that
> :
> 
> /local/ports/pobj/webkitgtk41-2.38.2-webkitgtk41/webkitgtk-2.38.2/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:865:13:
>  error: no matching function for call to 'strcmp'
>        if 
> (g_str_equal(gst_structure_get_name(gst_caps_get_structure(caps.get(), 0)), 
> gst_structure_get_name(gst_caps_get_structure(newCaps.get(), 0)))) {
>            
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/local/include/glib-2.0/glib/ghash.h:165:30: note: expanded from macro 
> 'g_str_equal'
> #define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) 
> (v2)) == 0)
>                             ^~~~~~
> /usr/include/string.h:75:6: note: candidate function not viable: cannot 
> convert argument of incomplete type 'gconstpointer' (aka 'const void *') to 
> 'const char *' for 1st argument
> int      strcmp(const char *, const char *);
>         ^
> 1 error generated.

Reply via email to