[arch-commits] Commit in thunar/trunk (PKGBUILD thunar-vfs-fix-umask.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Jul 12 10:04:33 UTC 2009


    Date: Sunday, July 12, 2009 @ 06:04:32
  Author: andyrtr
Revision: 45465

upgpkg: thunar 1.0.1-3
    fix #15460

Added:
  thunar/trunk/thunar-vfs-fix-umask.patch
Modified:
  thunar/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   11 ++++++++---
 thunar-vfs-fix-umask.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-12 08:27:02 UTC (rev 45464)
+++ PKGBUILD	2009-07-12 10:04:32 UTC (rev 45465)
@@ -4,7 +4,7 @@
 
 pkgname=thunar
 pkgver=1.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="new modern file manager for Xfce"
 arch=(i686 x86_64)
 license=('GPL2' 'LGPL2')
@@ -15,11 +15,16 @@
 optdepends=('gamin:   a fam replacement to make thunar monitor changes to files on the fly')
 options=('!libtool')
 install=${pkgname}.install
-source=(http://www.xfce.org/archive/xfce-4.6.1/src/Thunar-${pkgver}.tar.bz2)
-md5sums=('218373aa45d74b6ba8c69c4d5af3bb19')
+source=(http://www.xfce.org/archive/xfce-4.6.1/src/Thunar-${pkgver}.tar.bz2
+	thunar-vfs-fix-umask.patch)
+md5sums=('218373aa45d74b6ba8c69c4d5af3bb19'
+         '7247041fd2c411e4a129d3f90350893c')
 
 build() {
   cd ${srcdir}/Thunar-${pkgver}
+  # http://bugs.archlinux.org/task/15460
+  patch -Np0 -i ${srcdir}/thunar-vfs-fix-umask.patch || return 1
+  
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
     --localstatedir=/var --disable-static \
     --disable-gnome-thumbnailers --enable-exif --enable-pcre

Added: thunar-vfs-fix-umask.patch
===================================================================
--- thunar-vfs-fix-umask.patch	                        (rev 0)
+++ thunar-vfs-fix-umask.patch	2009-07-12 10:04:32 UTC (rev 45465)
@@ -0,0 +1,11 @@
+--- thunar-vfs/thunar-vfs-io-jobs.c.orig	2009-05-19 18:44:00.000000000 +0100
++++ thunar-vfs/thunar-vfs-io-jobs.c	2009-05-19 18:46:04.000000000 +0100
+@@ -708,7 +708,7 @@
+       _thunar_vfs_job_process_path (job, lp);
+ 
+       /* try to create the target directory */
+-      if (!_thunar_vfs_io_ops_mkdir (lp->data, 0777 & ~umask(0), THUNAR_VFS_IO_OPS_NONE, error))
++      if (!_thunar_vfs_io_ops_mkdir (lp->data, 0777, THUNAR_VFS_IO_OPS_NONE, error))
+         return FALSE;
+     }
+ 




More information about the arch-commits mailing list