HomeFreeBSD

textproc/mgdiff: Fix segfault when with open file dialogue box

Description

textproc/mgdiff: Fix segfault when with open file dialogue box

Under open-motif we see a segfault when mgdiff calls regexec() in
libgnuregexec's regexec.c at line 782. Let's avoid libgnuregexec
entirely and use the regexec(3) provided by FreeBSD's libc instead.
This resolves the segfault and as a bonus we reduce mgdiff's
dependency list.

We also remove a now incorrect comment in the patch. It was misleading
since the EXTRA_LIBRARIES for Dell SVR4 had already been removed.

PR: 280289
Approved by: portmaster@BSDforge.com (maintainer)

(cherry picked from commit 0ba6ae2c12e3a5c0b7a2aac812e25a02a32ae0b3)

Details

Provenance
cyAuthored on Jul 16 2024, 2:47 AM
Parents
R11:52cc09f1a60e: devel/electron30: update to 30.2.0
Branches
Unknown
Tags
Unknown