From c0547187185c38aa8a1d1b1118d1c4277f15c4ee Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 30 Aug 2023 16:58:13 +0200 Subject: [PATCH] scite: add for ptrdiff_t. --- srcpkgs/scite/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/scite/template b/srcpkgs/scite/template index 576137058c8..f0b33efa576 100644 --- a/srcpkgs/scite/template +++ b/srcpkgs/scite/template @@ -1,7 +1,7 @@ # Template file for 'scite' pkgname=scite version=5.3.7 -revision=1 +revision=2 create_wrksrc=yes hostmakedepends="pkg-config" makedepends="gtk+3-devel lua53-devel" @@ -13,6 +13,7 @@ distfiles="https://www.scintilla.org/scite${version//./}.tgz" checksum=c6a5dc4169920ab178cda003e5afe11cecf3029818095bca17553ca794736cbd post_extract() { + sed -i '1i#include ' scite/src/StringList.h sed -i 's/gthread-2.0/& lua/' scite/gtk/makefile }