# HG changeset patch # User Pascal Bellard # Date 1545756434 -3600 # Node ID 204f0914c73c50da7f72a6dfbead550fc53aecc4 # Parent b238393827558cd99397358106754a2da6c9bb1c Update gnome-calculator diff -r b23839382755 -r 204f0914c73c gnome-calculator/receipt --- a/gnome-calculator/receipt Tue Dec 25 17:06:17 2018 +0100 +++ b/gnome-calculator/receipt Tue Dec 25 17:47:14 2018 +0100 @@ -22,6 +22,15 @@ # Rules to configure and make the package. compile_rules() { + sed -i -e 's|Number.integer (num|this.integer (num|' \ + -e 's|Number.double (Math.PI)|this.double (Math.PI)|' \ + -e 's|Number.complex (x.multiply|this.complex (x.multiply|' \ + -e 's|Number.double (Random|this.double (Random|' \ + src/number.vala + sed -i 's|.*insert_with_tags.*|#if VALA_0_28\ + insert_with_tags (ref ans_end, ans_text, -1, ans_tag);\ +#else\n&\n#endif|' src/math-equation.vala + # SliTaz icon theme has no symbolic icons sed -i 's|-symbolic||g' $src/data/buttons*.ui