git: 0b707077e8aa - main - devel/libgnuregex: Fix undefined symbol in the resulting library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Apr 2026 06:40:20 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0b707077e8aadaa2787d07103e45304b53860496
commit 0b707077e8aadaa2787d07103e45304b53860496
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-04-17 06:31:04 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-04-17 06:37:25 +0000
devel/libgnuregex: Fix undefined symbol in the resulting library
PR: 294168
Reported by: Ben Grimm <freebsd@bengrimm.net>
Approved by: portmgr (fixit blanket)
---
devel/libgnuregex/Makefile | 2 ++
devel/libgnuregex/files/patch-regex.c | 8 ++++++++
2 files changed, 10 insertions(+)
diff --git a/devel/libgnuregex/Makefile b/devel/libgnuregex/Makefile
index 97b562041893..6b5ee1e71b34 100644
--- a/devel/libgnuregex/Makefile
+++ b/devel/libgnuregex/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libgnuregex
PORTVERSION= 6.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= # Nothing to fetch
DISTFILES= # Nothing to fetch
@@ -33,6 +34,7 @@ REGEX_FILES= lib/attribute.h \
lib/regcomp.c \
lib/verify.h
REGEX_MALLOC_FILES= lib/malloc/dynarray.h \
+ lib/malloc/dynarray_resize.c \
lib/malloc/dynarray-skeleton.c
do-extract:
diff --git a/devel/libgnuregex/files/patch-regex.c b/devel/libgnuregex/files/patch-regex.c
index 68a84ef0d3b3..2b1a6f596ced 100644
--- a/devel/libgnuregex/files/patch-regex.c
+++ b/devel/libgnuregex/files/patch-regex.c
@@ -8,3 +8,11 @@
#include <regex.h>
#include "regex_internal.h"
+@@ -70,6 +71,7 @@
+ #include "regex_internal.c"
+ #include "regcomp.c"
+ #include "regexec.c"
++#include "malloc/dynarray_resize.c"
+
+ /* Binary backward compatibility. */
+ #if _LIBC