glib2 deprecated declarations failing on clang16

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Tue, 04 Jul 2023 12:37:32 UTC
Hello,

I'm getting build errors from current with www/bluefish about deprecated
glib2 declarations and causing build to fail with clang16:
---
/usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from
macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
mv -f .deps/bluefish.Tpo .deps/bluefish.Po
bftextview2_langmgr.c:2665:2: warning: 'g_thread_create_full' is
deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
        g_thread_create_full(build_bflang2scan_thread, NULL, 0, FALSE,
FALSE, G_THREAD_PRIORITY_LOW, &gerror);
---

Any help is welcome on finding out its cause.

a related issue: https://github.com/PCSX2/pcsx2/issues/3315

Build log:
https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pf46bd2c58425_s0631830a7a/logs/bluefish-2.2.14.log

-- 
Nuno Teixeira
FreeBSD Committer (ports)