Control: retitle -1 gnubiff: FTBFS due to missing #include <cstring>
Control: tags -1 patch fixed-upstream
Control: unblock 827061 by -1
I've confirmed that gnubiff builds fine with OpenSSL 1.1
The attached patch cherry-picks the missing cstring includes
from 2.2.17
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Description: Cherry-pick missing #include <cstring> from 2.2.17
Origin: upstream
Bug-Debian: https://bugs.debian.org/828327
--- gnubiff-2.2.16.orig/src/biff.cc
+++ gnubiff-2.2.16/src/biff.cc
@@ -30,6 +30,7 @@
#include "support.h"
#include <algorithm>
+#include <cstring>
#include <fcntl.h>
#include <fstream>
#include <sstream>
--- gnubiff-2.2.16.orig/src/socket.cc
+++ gnubiff-2.2.16/src/socket.cc
@@ -30,6 +30,7 @@
#include <errno.h>
#include <sstream>
#include <cstdio>
+#include <cstring>
#include <unistd.h>
#include <fcntl.h>
#include <netdb.h>
--- gnubiff-2.2.16.orig/src/ui-applet-gnome.cc
+++ gnubiff-2.2.16/src/ui-applet-gnome.cc
@@ -31,6 +31,7 @@
#include <sstream>
#include <cstdio>
+#include <cstring>
#include "ui-applet-gnome.h"
#include "ui-popup.h"