From 49f359d6b76052afbd35720c9e2cb12c8c990ad8 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 11 Jan 2022 22:02:03 +0100 Subject: [PATCH] slop: rebuild against icu-70.1_1 --- .../patches/bugfix-add-missed-header.patch | 22 +++++++++++++++++++ srcpkgs/slop/template | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/slop/patches/bugfix-add-missed-header.patch diff --git a/srcpkgs/slop/patches/bugfix-add-missed-header.patch b/srcpkgs/slop/patches/bugfix-add-missed-header.patch new file mode 100644 index 0000000000..612eb4d8d7 --- /dev/null +++ b/srcpkgs/slop/patches/bugfix-add-missed-header.patch @@ -0,0 +1,22 @@ +From 5cbcb9e389a02d6288f90a790c6b547d9f9dcac7 Mon Sep 17 00:00:00 2001 +From: Drunkard Zhang +Date: Tue, 28 Sep 2021 12:20:25 +0800 +Subject: [PATCH] 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 +--- + src/framebuffer.cpp | 1 + + 1 file changed, 1 insertion(+) + +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 --git a/srcpkgs/slop/template b/srcpkgs/slop/template index 4bfe13d088..bae6088a41 100644 --- a/srcpkgs/slop/template +++ b/srcpkgs/slop/template @@ -1,7 +1,7 @@ # Template file for 'slop' pkgname=slop version=7.5 -revision=4 +revision=5 build_style=cmake hostmakedepends="pkg-config" makedepends="glew-devel glm icu-devel libXrender-devel"