imv: configure with -Db_ndebug=false

Fix segfault when DISPLAY and WAYLAND_DISPLAY are not defined
This commit is contained in:
Roberto Ricci 2023-03-19 19:15:04 +01:00 committed by classabbyamp
parent 60aaaa2f7c
commit a62a1ee05c

View file

@ -1,8 +1,12 @@
# Template file for 'imv'
pkgname=imv
version=4.4.0
revision=1
revision=2
build_style=meson
# don't define NDEBUG since assert(3) is used to detect error conditions
# (e.g.: https://git.sr.ht/~exec64/imv/tree/v4.4.0/item/src/x11_window.c#L109
# and https://git.sr.ht/~exec64/imv/tree/v4.4.0/item/src/wl_window.c#L673)
configure_args="-Db_ndebug=false"
hostmakedepends="asciidoc pkg-config cmake"
makedepends="cmocka-devel freeimage-devel glu-devel librsvg-devel libheif-devel libxkbcommon-devel
pango-devel wayland-devel inih-devel"