scite: add <cstddef> for ptrdiff_t.

This commit is contained in:
Leah Neukirchen 2023-08-30 16:58:13 +02:00
parent 5d63453265
commit c054718718
1 changed files with 2 additions and 1 deletions

View File

@ -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 <cstddef>' scite/src/StringList.h
sed -i 's/gthread-2.0/& lua/' scite/gtk/makefile
}