Created attachment 204018 [details]
Upgrade to 2.56.4, add TEST_target
I'm not sure, why our version of glib20 is still at 2.56 -- 2.61 is currently the latest available -- but there may be good reasons.
Still, within 2.56 we are on 2.56.3, whereas 2.56.4 is out since December 18th and promises the following improvements:
* Various buffer overflow fixes in GMarkup/GVariant/GDBus (#1582)
* Bug fixes:
#1588 Moving a bookmark item to the same URI causes a crash
#1582 Backport GMarkup/GVariant/GDBus fixes to glib-2-58 and glib-2-56
In addition to upgrading, I also set the TEST_TARGET (some tests fail) and provide for the thread-naming functionality by teaching glib about BSD-specific pthread_set_name_np and pthread_get_name_np calls.
Created attachment 204019 [details]
Enable setting and getting of threads' names
This patch can be dropped, verbatim, into the ports files/ independent of the proposed upgrade. It is applicable to both 2.56.3 and 2.56.4.