diff -Nru slop-7.5/debian/changelog slop-7.5/debian/changelog --- slop-7.5/debian/changelog 2020-05-11 03:36:44.000000000 +0000 +++ slop-7.5/debian/changelog 2021-10-05 14:07:33.000000000 +0000 @@ -1,3 +1,10 @@ +slop (7.5-1+rpi1) bookworm-staging; urgency=medium + + * Apply upstream patch to fix missing header and hence fix FTBFS + (Closes: 994824) + + -- Peter Michael Green Tue, 05 Oct 2021 14:07:33 +0000 + slop (7.5-1) unstable; urgency=medium * New upstrem release diff -Nru slop-7.5/debian/patches/add-missing-header.patch slop-7.5/debian/patches/add-missing-header.patch --- slop-7.5/debian/patches/add-missing-header.patch 1970-01-01 00:00:00.000000000 +0000 +++ slop-7.5/debian/patches/add-missing-header.patch 2021-10-05 14:06:45.000000000 +0000 @@ -0,0 +1,20 @@ +commit 5cbcb9e389a02d6288f90a790c6b547d9f9dcac7 +Author: Drunkard Zhang +Date: Tue Sep 28 12:20:25 2021 +0800 + + bugfix: add missed header + + XDestroyImage is included in which belongs to libX11. + Build fails without include this header on Gentoo. + + Signed-off-by: Drunkard Zhang + +diff --git a/src/framebuffer.cpp b/src/framebuffer.cpp +index 20909b3..da85a25 100644 +--- a/src/framebuffer.cpp ++++ b/src/framebuffer.cpp +@@ -1,3 +1,4 @@ ++#include + #include "framebuffer.hpp" + + slop::Framebuffer::Framebuffer( int w, int h ) { diff -Nru slop-7.5/debian/patches/series slop-7.5/debian/patches/series --- slop-7.5/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ slop-7.5/debian/patches/series 2021-10-05 14:07:02.000000000 +0000 @@ -0,0 +1 @@ +add-missing-header.patch