mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
deepin-terminal: fix build with vte3 0.60
https://github.com/linuxdeepin/deepin-terminal/pull/221
This commit is contained in:
parent
f546a05b94
commit
48e4aa7260
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'deepin-terminal'
|
# Template file for 'deepin-terminal'
|
||||||
pkgname=deepin-terminal
|
pkgname=deepin-terminal
|
||||||
version=5.0.0
|
version=5.0.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DTEST_BUILD=OFF -DUSE_VENDOR_LIB=OFF"
|
configure_args="-DTEST_BUILD=OFF -DUSE_VENDOR_LIB=OFF"
|
||||||
hostmakedepends="glib-devel gobject-introspection gperf intltool pkg-config
|
hostmakedepends="glib-devel gobject-introspection gperf intltool pkg-config
|
||||||
|
@ -21,3 +21,12 @@ nocross=yes
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
*-musl) CFLAGS="-DREG_NOERROR=REG_OK"
|
*-musl) CFLAGS="-DREG_NOERROR=REG_OK"
|
||||||
esac
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue