summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-03-09 23:36:29 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-03-09 23:37:44 +0000
commit70a1df6b287648024c2b8aa7d439a6f3644c2256 (patch)
tree2047c649253d664d55f8adf43b8e5147c7990874 /net-fs/smbnetfs
parentprofiles/base: Stable-mask sys-apps/portage[rsync-verify] (diff)
downloadgentoo-70a1df6b287648024c2b8aa7d439a6f3644c2256.tar.gz
gentoo-70a1df6b287648024c2b8aa7d439a6f3644c2256.tar.bz2
gentoo-70a1df6b287648024c2b8aa7d439a6f3644c2256.zip
net-fs/smbnetfs: fix attr/xattr.h inclusion, bug #650038
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/650038 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-fs/smbnetfs')
-rw-r--r--net-fs/smbnetfs/files/smbnetfs-0.6.1-use-proper-xattr.patch25
-rw-r--r--net-fs/smbnetfs/smbnetfs-0.6.1.ebuild2
2 files changed, 27 insertions, 0 deletions
diff --git a/net-fs/smbnetfs/files/smbnetfs-0.6.1-use-proper-xattr.patch b/net-fs/smbnetfs/files/smbnetfs-0.6.1-use-proper-xattr.patch
new file mode 100644
index 00000000000..925a8cf8fef
--- /dev/null
+++ b/net-fs/smbnetfs/files/smbnetfs-0.6.1-use-proper-xattr.patch
@@ -0,0 +1,25 @@
+From 398e8169ea6d3d854af0173b1e66bf13c124f901 Mon Sep 17 00:00:00 2001
+From: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
+Date: Thu, 1 Feb 2018 11:55:41 +0300
+Subject: [PATCH] use proper xattr
+
+---
+ src/function.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/function.c b/src/function.c
+index 9728eae..3e88f42 100644
+--- a/src/function.c
++++ b/src/function.c
+@@ -8,7 +8,7 @@
+ #include <dirent.h>
+ #include <sys/statvfs.h>
+ #include <sys/types.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+ #include <time.h>
+ #include <pthread.h>
+ #include <libsmbclient.h>
+--
+2.16.2
+
diff --git a/net-fs/smbnetfs/smbnetfs-0.6.1.ebuild b/net-fs/smbnetfs/smbnetfs-0.6.1.ebuild
index e4515439067..e451b3cdef1 100644
--- a/net-fs/smbnetfs/smbnetfs-0.6.1.ebuild
+++ b/net-fs/smbnetfs/smbnetfs-0.6.1.ebuild
@@ -21,6 +21,8 @@ RDEPEND=">=sys-fs/fuse-2.3
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=("${FILESDIR}"/${P}-use-proper-xattr.patch)
+
DISABLE_AUTOFORMATTING=yes
DOC_CONTENTS="
For quick usage, exec: