HomeFreeBSD

x11/altyo: unbreak build with vala 0.36

Description

x11/altyo: unbreak build with vala 0.36

gmake[1]: Entering directory '/wrkdirs/usr/ports/x11/altyo/work/AltYo-debian-0.4_rc19-linvinus1'
glib-compile-resources --sourcedir=./data --generate-source ./data/altyo.gresource.xml
#test -e ./altyo && rm ./altyo
valac -o altyo -v --disable-warnings -X -DGETTEXT_PACKAGE=\"altyo\" -X -DAY_GIT_HASH=\"\" -X -DAY_CHANGELOG_TAG=\"\" --vapidir ./vapi --pkg gtk+-3.0 --pkg gdk-x11-3.0 --pkg cairo --pkg posix --pkg gmodule-2.0 -D VTE_2_91 --pkg vte-2.91 vapi/config.vapi vapi/xkb.vapi main.vala hvbox.vala altyo_terminal.vala altyo_window.vala altyo_hotkey.vala altyo_config.vala altyo_settings.vala data/altyo.c
altyo_window.vala:2892.99-2892.119: error: Argument 1: Cannot convert from uint' to int'

string s = ( tab.tbutton.tab_title != null ? tab.tbutton.tab_title : _("index %d").printf(tab.tbutton.tab_index) );
                                                                                          ^^^^^^^^^^^^^^^^^^^^^

altyo_settings.vala:1609.107-1609.110: error: Argument 1: Cannot convert from uint' to int'

string msg=_("New style will not be saved!\nin line %d  at position %d\nerror:%s").printf(line,pos,S);
                                                                                          ^^^^

altyo_settings.vala:704.24-704.27: error: Argument 1: Cannot pass value to reference or output parameter

store.remove(iter);
             ^^^^

altyo_settings.vala:738.24-738.27: error: Argument 1: Cannot pass value to reference or output parameter

store.remove(iter);
             ^^^^

altyo_settings.vala:772.24-772.27: error: Argument 1: Cannot pass value to reference or output parameter

store.remove(iter);
             ^^^^

altyo_settings.vala:959.59-959.62: error: Argument 1: Cannot convert from uint' to int'

msg=_("in line %d  at position %d error:%s").printf(line,pos,S);
                                                    ^^^^

While I'm here, pet portlint, DISTVERSIONSUFFIX appears out-of-order.

PR: 222016
Submitted by: cpm
Approved by: nivit (maintainer)

Details

Committed
cpmSep 15 2017, 9:38 AM
Parents
rP449895: - Update WWW
Branches
Unknown
Tags
Unknown