From 540662a45772c921857e51c29031d8bce7b18172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Wed, 23 Sep 2020 12:24:21 +0000 Subject: Fix build with -fno-common Since files that are patched in legacy patch files are affected, all patches are regenerated with make makepatch. In order to have makepatch operate on only the patched sources without the result of RE_INPLACE being integrated into the patch files, move the in-place editing of sources from post-patch to pre-build. --- mail/mboxgrep/files/patch-src_scan.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mail/mboxgrep/files/patch-src_scan.h (limited to 'mail/mboxgrep/files/patch-src_scan.h') diff --git a/mail/mboxgrep/files/patch-src_scan.h b/mail/mboxgrep/files/patch-src_scan.h new file mode 100644 index 000000000000..c37be2d579ad --- /dev/null +++ b/mail/mboxgrep/files/patch-src_scan.h @@ -0,0 +1,13 @@ +--- src/scan.h.orig 2003-03-30 23:07:10 UTC ++++ src/scan.h +@@ -23,8 +23,7 @@ + + #include "mboxgrep.h" + +-void scan_mailbox (char path[]); +-void recursive_scan (char path[]); +-int md5_check_message (char *body, checksum_t *chksum); ++void scan_mailbox(const char path[]); ++void recursive_scan(const char path[]); + + #endif /* SCAN_H */ -- cgit v1.2.3