Subject: CVS commit: pkgsrc/x11/gtk4
From: Patrick Welche
Date: 2024-01-16 11:00:16
Message id: 20240116100016.E8893FA42@cvs.NetBSD.org

Log Message:
gtk4: build workaround for NetBSD with gcc 12

NetBSD ld.elf_so dumps core with a shlib built with gcc 12 and
both -z,relro and -z,now. c.f., PR lib/57792

gtk4 adds both of these flags by default, and fails on either a
system with a base HAVE_GCC=12, or with GCC_REQD=12.

With the patch, it can be caused to fail again by setting
PKGSRC_USE_RELRO=full

Thank you to RVP for the analysis

Files:
RevisionActionfile
1.40modifypkgsrc/x11/gtk4/Makefile
1.18modifypkgsrc/x11/gtk4/distinfo
1.5addpkgsrc/x11/gtk4/patches/patch-meson.build