Date: Thursday, October 23, 2014 @ 00:20:45 Author: bgyorgy Revision: 121255
upgpkg: lxtask 0.1.6-1 Update to version 0.1.6 Modified: lxtask/trunk/PKGBUILD Deleted: lxtask/trunk/fix-integer-overflow.patch ----------------------------+ PKGBUILD | 15 +++------------ fix-integer-overflow.patch | 18 ------------------ 2 files changed, 3 insertions(+), 30 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-10-22 22:20:14 UTC (rev 121254) +++ PKGBUILD 2014-10-22 22:20:45 UTC (rev 121255) @@ -5,7 +5,7 @@ # Contributor: Geoffroy Carrier <geoffroy.carr...@koon.fr> pkgname=lxtask -pkgver=0.1.5 +pkgver=0.1.6 pkgrel=1 pkgdesc='Task manager of the LXDE Desktop' arch=('i686' 'x86_64') @@ -14,18 +14,9 @@ groups=('lxde') depends=('gtk2') makedepends=('intltool') -source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz - fix-integer-overflow.patch) -md5sums=('c8b1e9df8cbe41c07ebc3830d4386324' - 'd505170197a070a11b67798ebb5519ac') +source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz) +md5sums=('14b5341822aaa049f2d4d5a56c1b28f2') -prepare() { - cd $pkgname-$pkgver - - # Fix integer overflow on shorting by memory - patch -Np1 -i ../fix-integer-overflow.patch -} - build() { cd $pkgname-$pkgver ./configure --sysconfdir=/etc --prefix=/usr Deleted: fix-integer-overflow.patch =================================================================== --- fix-integer-overflow.patch 2014-10-22 22:20:14 UTC (rev 121254) +++ fix-integer-overflow.patch 2014-10-22 22:20:45 UTC (rev 121255) @@ -1,18 +0,0 @@ -diff --git a/src/interface.c b/src/interface.c -index 52c6727..62e89ff 100644 ---- a/src/interface.c -+++ b/src/interface.c -@@ -545,10 +545,10 @@ gint compare_size_list_item(GtkTreeModel *model, GtkTreeIter *iter1, GtkTreeIter - gtk_tree_model_get(model, iter1, column, &s1, -1); - gtk_tree_model_get(model, iter2, column, &s2, -1); - -- gint64 i1 = string_to_size(s1); -- gint64 i2 = string_to_size(s2); -+ guint64 i1 = string_to_size(s1); -+ guint64 i2 = string_to_size(s2); - -- ret = i2 - i1; -+ ret = (i2 > i1) - (i2 < i1); - - g_free(s1); - g_free(s2);