deepin-terminal: fix build with vte3 0.60
https://github.com/linuxdeepin/deepin-terminal/pull/221
This commit is contained in:
committed by
Juan RP
parent
f546a05b94
commit
48e4aa7260
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user