freebsd-ports/mail/mmh/files/patch-uip_mhbuild.c
Kyle Evans 8788f96ef4 mail/mmh: fix build with -fno-common
mmh had just a minor build issue with -fno-common, fixed with a trivial
patch to extern the variable in question.

PR:		248812
Approved by:	satanist+freebsd@bureaucracy.de (maintainer)
MFH:		2020Q3 (build fix: -fno-common)
2020-08-21 18:12:18 +00:00

11 lines
252 B
C

--- uip/mhbuild.c.orig 2020-08-21 13:38:24 UTC
+++ uip/mhbuild.c
@@ -51,7 +51,7 @@ char *version=VERSION;
** Directory to place tmp files. This must
** be set before these routines are called.
*/
-char *tmp;
+extern char *tmp;
pid_t xpid = 0;