Package: rspamd
Version: 2.5-2
Severity: serious
Tags: patch
Justification: ftbfs
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch
Dear maintainers,
In Ubuntu, we've found that rspamd fails to build from source with the
current toolchain due to a missing C++ include file. The attached patch
fixes the build failure in unstable.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru rspamd-2.5/debian/patches/gcc10-ftbfs.patch
rspamd-2.5/debian/patches/gcc10-ftbfs.patch
--- rspamd-2.5/debian/patches/gcc10-ftbfs.patch 1969-12-31 16:00:00.0
-0800
+++ rspamd-2.5/debian/patches/gcc10-ftbfs.patch 2020-07-28 16:51:48.0
-0700
@@ -0,0 +1,16 @@
+Description: fix ftbfs with gcc 10 due to missing C++ header include
+Author: Steve Langasek
+Last-Update: 2020-07-28
+
+Index: rspamd-2.5/contrib/replxx/src/io.cxx
+===
+--- rspamd-2.5.orig/contrib/replxx/src/io.cxx
rspamd-2.5/contrib/replxx/src/io.cxx
+@@ -3,6 +3,7 @@
+ #include
+ #include
+ #include
++#include
+
+ #ifdef _WIN32
+
diff -Nru rspamd-2.5/debian/patches/series rspamd-2.5/debian/patches/series
--- rspamd-2.5/debian/patches/series2020-05-01 07:40:43.0 -0700
+++ rspamd-2.5/debian/patches/series2020-07-28 16:49:55.0 -0700
@@ -3,3 +3,4 @@
0004-drop-js-scripts-packaged-by-Debian.patch
0006-do-not-install-fonts-packaged-by-Debian.patch
0007-license-problem-convert-utf-code.patch
+gcc10-ftbfs.patch