Date: Thursday, April 1, 2021 @ 14:57:22 Author: foxboron Revision: 910845
upgpkg: torrential 1.1.0-4 - granite 6.0.0 rebuild Fixed vala issue Added: torrential/trunk/patch-vala.patch Modified: torrential/trunk/PKGBUILD ------------------+ PKGBUILD | 9 ++++++--- patch-vala.patch | 13 +++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-04-01 14:56:28 UTC (rev 910844) +++ PKGBUILD 2021-04-01 14:57:22 UTC (rev 910845) @@ -2,7 +2,7 @@ pkgname=torrential pkgver=1.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="Simple BitTorrent client for elementary OS" arch=(x86_64) url="https://github.com/davidmhewitt/torrential" @@ -18,7 +18,8 @@ "git+https://github.com/transmission/libnatpmp" "git+https://github.com/transmission/libutp" "git+https://github.com/transmission/miniupnpc" - "no-unity.patch") + "no-unity.patch" + "patch-vala.patch") sha256sums=('SKIP' 'SKIP' 'SKIP' @@ -27,7 +28,8 @@ 'SKIP' 'SKIP' 'SKIP' - '8b279ca266c8b1643cf10ff0a66a66283be6595959720bcc321fdef0f3da6ea7') + '8b279ca266c8b1643cf10ff0a66a66283be6595959720bcc321fdef0f3da6ea7' + 'f45f87330502796a3ab2d4798c8fa76f3ce63026828aa890e99ae06ed0adca1f') pkgver() { cd $pkgname @@ -53,6 +55,7 @@ cd .. patch -Np1 -i ../no-unity.patch + patch -Np1 -i ../patch-vala.patch sed -i '/--fatal-warnings/d' CMakeLists.txt } Added: patch-vala.patch =================================================================== --- patch-vala.patch (rev 0) +++ patch-vala.patch 2021-04-01 14:57:22 UTC (rev 910845) @@ -0,0 +1,13 @@ +diff --git a/src/Widgets/TorrentListRow.vala b/src/Widgets/TorrentListRow.vala +index 11dd050..bf26c93 100644 +--- a/src/Widgets/TorrentListRow.vala ++++ b/src/Widgets/TorrentListRow.vala +@@ -149,7 +149,7 @@ public class Torrential.Widgets.TorrentListRow : Gtk.ListBoxRow { + + private string generate_status_text () { + if (torrent.downloading || torrent.seeding) { +- char[40] buf = new char[40]; ++ char[] buf = new char[40]; + var down_speed = Transmission.String.Units.speed_KBps (buf, torrent.download_speed); + var up_speed = Transmission.String.Units.speed_KBps (buf, torrent.upload_speed); + return _("%i of %i peers connected. \u2b07%s \u2b06%s").printf (torrent.connected_peers, torrent.total_peers, down_speed, up_speed);