#!/usr/bin/make -f

# gxvattr.c passes GtkWidget pointers to helpers declared with GtkObject
# parameters.  GCC 14+ promotes -Wincompatible-pointer-types to an error by
# default, which breaks the build.  The legacy GTK2 objects are layout
# compatible, so demote this specific diagnostic back to a warning via a build
# parameter instead of patching upstream code.
override_dh_auto_build:
	dh_auto_build -- AM_CPPFLAGS="-Wno-error=incompatible-pointer-types"

%:
	dh $@
