slop: rebuild against icu-70.1_1

This commit is contained in:
Duncaen 2022-01-11 22:02:03 +01:00
parent b7550279ba
commit 49f359d6b7
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
From 5cbcb9e389a02d6288f90a790c6b547d9f9dcac7 Mon Sep 17 00:00:00 2001
From: Drunkard Zhang <gongfan193@gmail.com>
Date: Tue, 28 Sep 2021 12:20:25 +0800
Subject: [PATCH] bugfix: add missed header
XDestroyImage is included in <X11/Xutil.h> which belongs to libX11.
Build fails without include this header on Gentoo.
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
---
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 <X11/Xutil.h>
#include "framebuffer.hpp"
slop::Framebuffer::Framebuffer( int w, int h ) {

View file

@ -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"