[arch-commits] Commit in zsh/trunk (PKGBUILD xattr-include.patch)

Pierre Schmitz pierre at nymeria.archlinux.org
Mon Jan 6 11:03:40 UTC 2014


    Date: Monday, January 6, 2014 @ 12:03:39
  Author: pierre
Revision: 203237

upgpkg: zsh 5.0.5-1

Added:
  zsh/trunk/xattr-include.patch
Modified:
  zsh/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   14 +++++++++-----
 xattr-include.patch |   16 ++++++++++++++++
 2 files changed, 25 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-06 07:56:25 UTC (rev 203236)
+++ PKGBUILD	2014-01-06 11:03:39 UTC (rev 203237)
@@ -3,7 +3,7 @@
 
 pkgbase=zsh
 pkgname=('zsh' 'zsh-doc')
-pkgver=5.0.4
+pkgver=5.0.5
 pkgrel=1
 arch=('i686' 'x86_64')
 url='http://www.zsh.org/'
@@ -11,10 +11,11 @@
 makedepends=('pcre' 'libcap' 'gdbm')
 source=("http://www.zsh.org/pub/zsh-${pkgver}.tar.bz2"
         "http://www.zsh.org/pub/zsh-${pkgver}-doc.tar.bz2"
-        'zprofile')
-md5sums=('9829fe8932c25740173a272e8959cf8c'
-         '2505867639d58726cd09e6884cb7863c'
-         '24a9335edf77252a7b5f52e079f7aef7')
+        'zprofile' 'xattr-include.patch')
+md5sums=('6156dc2f19b0a067bdbc0fb7f81e2017'
+         '1eea70e7401a7a2116fa8de6ee5e8d32'
+         '24a9335edf77252a7b5f52e079f7aef7'
+         'd9af40097fcf112beba34919e8a5934f')
 
 prepare() {
 	cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -29,6 +30,9 @@
 	done
 	rm -f  Completion/Linux/Command/_{pkgtool,rpmbuild,yast}
 	rm -f  Completion/Unix/Command/_{osc,systemd}
+
+	# Workaround for FS#38387
+	patch -p0 -i "${srcdir}/xattr-include.patch"
 }
 
 build() {

Added: xattr-include.patch
===================================================================
--- xattr-include.patch	                        (rev 0)
+++ xattr-include.patch	2014-01-06 11:03:39 UTC (rev 203237)
@@ -0,0 +1,16 @@
+--- Src/Modules/attr.c	2013-11-27 20:00:20.000000000 +0100
++++ Src/Modules/attr.c	2014-01-06 11:55:38.550079342 +0100
+@@ -27,11 +27,12 @@
+  *
+  */
+ 
++#include <sys/xattr.h>
++
+ #include "attr.mdh"
+ #include "attr.pro"
+ 
+ #include <sys/types.h>
+-#include <sys/xattr.h>
+ 
+ static ssize_t
+ xgetxattr(const char *path, const char *name, void *value, size_t size, int symlink)




More information about the arch-commits mailing list