diff options
Diffstat (limited to 'community/ubuntuone-client')
-rw-r--r-- | community/ubuntuone-client/PKGBUILD | 14 | ||||
-rw-r--r-- | community/ubuntuone-client/lp1093111.patch | 10 |
2 files changed, 20 insertions, 4 deletions
diff --git a/community/ubuntuone-client/PKGBUILD b/community/ubuntuone-client/PKGBUILD index 6d95a2a4a..798331ad9 100644 --- a/community/ubuntuone-client/PKGBUILD +++ b/community/ubuntuone-client/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 79225 2012-11-01 10:28:41Z bgyorgy $ +# $Id: PKGBUILD 82715 2013-01-23 12:42:21Z bgyorgy $ # Maintainer: Balló György <ballogyor+arch at gmail dot com> pkgname=ubuntuone-client pkgver=4.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="Ubuntu One helps you store, sync and share files between your computers" arch=('i686' 'x86_64') url="https://launchpad.net/ubuntuone-client" @@ -14,10 +14,12 @@ options=('!libtool') install=$pkgname.install source=(http://launchpad.net/ubuntuone-client/stable-4-0/$pkgver/+download/$pkgname-$pkgver.tar.gz 1339_1338.diff - fix-notify-hint.patch) + fix-notify-hint.patch + lp1093111.patch) md5sums=('738039703d4dcf54518a725f8ffbc4de' 'e82e80c229de06692988c1f938a34fb9' - '54dfeb2be011f0a12ea7cfa0f0c19bec') + '54dfeb2be011f0a12ea7cfa0f0c19bec' + 'ca79cb558231639e28be7276017ae91c') build() { cd "$srcdir/$pkgname-$pkgver" @@ -30,6 +32,10 @@ build() { # https://bugzilla.gnome.org/show_bug.cgi?id=665166 patch -Np1 -i "$srcdir/fix-notify-hint.patch" + # Fix compatibility with glibc 2.17 + # https://bugs.launchpad.net/ubuntuone-client/+bug/1093111 + patch -Np1 -i "$srcdir/lp1093111.patch" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ --disable-static \ PYTHON=python2 diff --git a/community/ubuntuone-client/lp1093111.patch b/community/ubuntuone-client/lp1093111.patch new file mode 100644 index 000000000..8663915d3 --- /dev/null +++ b/community/ubuntuone-client/lp1093111.patch @@ -0,0 +1,10 @@ +--- a/ubuntuone/syncdaemon/tritcask.py 2013-01-18 18:27:41.809017000 +0200 ++++ b/ubuntuone/syncdaemon/tritcask.py 2013-01-22 15:08:15.015987671 +0200 +@@ -300,6 +300,7 @@ + self.fd.seek(0, os.SEEK_END) + self.fd.write(crc32 + header) + self.fd.write(key) ++ self.fd.flush() + value_pos = self.fd.tell() + self.fd.write(value) + self.fd.flush() |