[arch-commits] Commit in exo/trunk (PKGBUILD fix_usb_throughput.patch)
andyrtr at archlinux.org
andyrtr at archlinux.org
Tue Oct 20 15:35:37 UTC 2009
Date: Tuesday, October 20, 2009 @ 11:35:37
Author: andyrtr
Revision: 56257
upgpkg: exo 0.3.105-2
fix slow usb writes, #16750
Added:
exo/trunk/fix_usb_throughput.patch
Modified:
exo/trunk/PKGBUILD
--------------------------+
PKGBUILD | 10 +++++++---
fix_usb_throughput.patch | 14 ++++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-20 13:18:24 UTC (rev 56256)
+++ PKGBUILD 2009-10-20 15:35:37 UTC (rev 56257)
@@ -4,7 +4,7 @@
pkgname=exo
pkgver=0.3.105
-pkgrel=1
+pkgrel=2
pkgdesc="Extensions to Xfce by os-cillation"
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL')
@@ -16,11 +16,15 @@
'perl-uri for mail-compose helper script')
options=('!libtool')
install=${pkgname}.install
-source=(http://archive.xfce.org/src/xfce/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('ba87f84894498bf23ae39d849c55f98c')
+source=(http://archive.xfce.org/src/xfce/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2
+ fix_usb_throughput.patch)
+md5sums=('ba87f84894498bf23ae39d849c55f98c'
+ '0be6fb1242d687ae587880b4a10218fe')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # fix http://bugs.archlinux.org/task/16750
+ patch -Np1 -i $srcdir/fix_usb_throughput.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
--localstatedir=/var --disable-static --enable-notifications \
--enable-python || return 1
Added: fix_usb_throughput.patch
===================================================================
--- fix_usb_throughput.patch (rev 0)
+++ fix_usb_throughput.patch 2009-10-20 15:35:37 UTC (rev 56257)
@@ -0,0 +1,14 @@
+diff --git a/exo-mount/exo-mount-hal.c b/exo-mount/exo-mount-hal.c
+index bbf9ca3..d09d0db 100644
+--- a/exo-mount/exo-mount-hal.c
++++ b/exo-mount/exo-mount-hal.c
+@@ -741,7 +741,8 @@ exo_mount_hal_device_mount (ExoMountHalDevice *device,
+ {
+ option = NULL;
+
+- if (strcmp (device->fsoptions[m], "sync") == 0)
++ if (strcmp (device->fsoptions[m], "sync") == 0
++ && device->volume == NULL)
+ {
+ /* non-pollable drive... */
+ option = g_strdup ("sync");
More information about the arch-commits
mailing list