diff --git a/srcpkgs/deepin-terminal/template b/srcpkgs/deepin-terminal/template index e1dc0494ddc..57feb0bd3f8 100644 --- a/srcpkgs/deepin-terminal/template +++ b/srcpkgs/deepin-terminal/template @@ -1,7 +1,7 @@ # Template file for 'deepin-terminal' pkgname=deepin-terminal version=5.0.0 -revision=1 +revision=2 build_style=cmake configure_args="-DTEST_BUILD=OFF -DUSE_VENDOR_LIB=OFF" hostmakedepends="glib-devel gobject-introspection gperf intltool pkg-config @@ -21,3 +21,12 @@ nocross=yes case $XBPS_TARGET_MACHINE in *-musl) CFLAGS="-DREG_NOERROR=REG_OK" esac + +post_patch() { + # latest vala string#to_utf8() return char[] + # but term.feed_child expects "unowned uint8[]" + vsed -i 's/[.]to_utf8()/.data/g' \ + widget/command_panel.vala \ + widget/terminal.vala \ + widget/workspace.vala +}