Control: tag -1 patch
On Thu, Apr 28, 2016 at 09:13:08PM +0200, Reiner Herrmann wrote:
> But I also just saw in git that it has been disabled, because it
> doesn't build. :(
> It would be awesome if you could get it running again! :)
Agreed. I took a quick look and the attached patch fixes the build. I
haven't had a chance to do any testing yet, but thought I'd send this in
case it helps.
Cheers,
James
diff --git a/debian/patches/mutt-patched/nntp.patch b/debian/patches/mutt-patched/nntp.patch
index 8dc1de0..fc0ca34 100644
--- a/debian/patches/mutt-patched/nntp.patch
+++ b/debian/patches/mutt-patched/nntp.patch
@@ -1471,7 +1471,19 @@ diff --git a/compose.c b/compose.c
index 42bdb46..01c79ce 100644
--- a/compose.c
+++ b/compose.c
-@@ -84,6 +84,16 @@ static const char * const Prompts[] =
+@@ -38,6 +38,11 @@
+ #include "remailer.h"
+ #endif
+
++#ifdef USE_NNTP
++#include "mx.h"
++#include "nntp.h"
++#endif
++
+ #include <errno.h>
+ #include <string.h>
+ #include <sys/stat.h>
+@@ -84,6 +89,16 @@ static const char * const Prompts[] =
"Subject: ",
"Reply-To: ",
"Fcc: "