On NetBSD, we don't need the define in filters/wrap.c
line 4. If it is left there, we get errors about not having locale_t
defined. Removing it will fix these errors. I'm not sure if this same thing happens on other BSDs or not.
--- filters/wrap.c.orig 2024-07-21 02:04:53.703418963 +0000
+++ filters/wrap.c
@@ -1,7 +1,9 @@
/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2023 Robin Jarry */
+#ifndef __NetBSD__
#define _XOPEN_SOURCE 700
+#endif
#include <errno.h>
#include <getopt.h>
#include <langinfo.h>
Thank you!
Hello, could you submit a patch on aerc-devel?
Yes, I can do that. I've not setup the appropriate git email to submit it yet. Once I've got more time, I can do that. Thank you!