[arch-commits] Commit in ubuntuone-client/trunk (PKGBUILD lp1093111.patch)

bgyorgy at nymeria.archlinux.org bgyorgy at nymeria.archlinux.org
Wed Jan 23 12:42:08 UTC 2013


    Date: Wednesday, January 23, 2013 @ 13:42:08
  Author: bgyorgy
Revision: 82714

upgpkg: ubuntuone-client 4.0.0-4

Fix compatibility with glibc 2.17

Added:
  ubuntuone-client/trunk/lp1093111.patch
Modified:
  ubuntuone-client/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   12 +++++++++---
 lp1093111.patch |   10 ++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-23 11:06:02 UTC (rev 82713)
+++ PKGBUILD	2013-01-23 12:42:08 UTC (rev 82714)
@@ -3,7 +3,7 @@
 
 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 @@
 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 @@
   # 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

Added: lp1093111.patch
===================================================================
--- lp1093111.patch	                        (rev 0)
+++ lp1093111.patch	2013-01-23 12:42:08 UTC (rev 82714)
@@ -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()




More information about the arch-commits mailing list