Files
ports/mail/mboxgrep/patches/patch-src_wrap_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

16 lines
333 B
Plaintext

Index: src/wrap.c
--- src/wrap.c.orig
+++ src/wrap.c
@@ -107,9 +107,9 @@ FILE *m_fdopen (int fildes, const char *mode)
#ifdef HAVE_LIBZ
-gzFile *m_gzdopen (int fildes, const char *mode)
+gzFile m_gzdopen (int fildes, const char *mode)
{
- gzFile *blah;
+ gzFile blah;
blah = gzdopen (fildes, mode);
if (blah == NULL)