From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Sat, 8 Aug 2026 11:13:36 +0000 (-0400) Subject: build: Remove G_GNUC_CONST from ostree-enumtypes.h.template X-Git-Tag: archive/raspbian/2026.4-1+rpi1^2~9^2^2~1^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=33eabee0d94da876444b0b0476fe2d6596866829;p=ostree.git build: Remove G_GNUC_CONST from ostree-enumtypes.h.template get_type functions have global side effects, which makes them ineligible for the G_GNUC_CONST attribute. See https://gitlab.gnome.org/GNOME/glib/-/commit/01682955 for further details. Completes: e87513c5 --- diff --git a/src/libostree/ostree-enumtypes.h.template b/src/libostree/ostree-enumtypes.h.template index 5043295b..4a4028fd 100644 --- a/src/libostree/ostree-enumtypes.h.template +++ b/src/libostree/ostree-enumtypes.h.template @@ -31,7 +31,7 @@ G_BEGIN_DECLS /*** BEGIN enumeration-production ***/ #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (_@enum_name@_get_type ()) -GType _@enum_name@_get_type (void) G_GNUC_CONST; +GType _@enum_name@_get_type (void); /*** END enumeration-production ***/