Files
ports/mail/mboxgrep/patches/patch-src_main_c
T
tb 01ae1c9506 mboxgrep: fix build with llvm22
gzFile is a pointer type, so it should be used, not gzFile *. It is also
not equivalent to FILE *, so undo some incorrect fixes from prior compiler
updates.
2026-05-22 18:07:06 +00:00

14 lines
230 B
Plaintext

fix for -fno-common
Index: src/main.c
--- src/main.c.orig
+++ src/main.c
@@ -47,6 +47,7 @@
#include <dmalloc.h>
#endif /* HAVE_LIBDMALLOC */
+option_t config;
regex_t posix_pattern;
#ifdef HAVE_LIBPCRE
pcre *pcre_pattern;