mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
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) MFH: 2024Q3
15 lines
399 B
Text
15 lines
399 B
Text
diff a/Imakefile.orig b/Imakefile
|
|
index 963bd53..36a7257 100644
|
|
--- Imakefile.orig
|
|
+++ Imakefile
|
|
@@ -5,10 +5,6 @@
|
|
XCOMM Imakefile,v 2.0 1994/05/19 02:01:00 dan Exp
|
|
|
|
XMLIB = -lXm
|
|
-XCOMM
|
|
-XCOMM for Dell SVR4
|
|
-XCOMM
|
|
-EXTRA_LIBRARIES = -lc -lucb
|
|
|
|
SRCS = mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c
|
|
OBJS = mgdiff.o rundiff.o misc.o files.o spawn.o manual.o modal.o legend.o
|