diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-02-23 12:54:17 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-02-23 12:54:47 +0100 |
commit | 766cd1d201c98a15b7ea2e0d01dd50947fcc78c3 (patch) | |
tree | 220c89dbaaa0a9e5245d20c7f1a30517e84dbf30 /gnome-extra/eiciel/files | |
parent | app-text/aiksaurus: Fix format-security, drop .la files (diff) | |
download | gentoo-766cd1d201c98a15b7ea2e0d01dd50947fcc78c3.tar.gz gentoo-766cd1d201c98a15b7ea2e0d01dd50947fcc78c3.tar.bz2 gentoo-766cd1d201c98a15b7ea2e0d01dd50947fcc78c3.zip |
gnome-extra/eiciel: Multiple fixes
- nautilus extension is optional
- Build system takes care of adding -std=c++11 when needed
- Fix xattr header (#655744)
- gvfs looks to not be directly used
Closes: https://bugs.gentoo.org/655744
Closes: https://bugs.gentoo.org/565446
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/eiciel/files')
-rw-r--r-- | gnome-extra/eiciel/files/eiciel-0.9.12.1-xattr-header.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnome-extra/eiciel/files/eiciel-0.9.12.1-xattr-header.patch b/gnome-extra/eiciel/files/eiciel-0.9.12.1-xattr-header.patch new file mode 100644 index 000000000000..1b866f4bb75f --- /dev/null +++ b/gnome-extra/eiciel/files/eiciel-0.9.12.1-xattr-header.patch @@ -0,0 +1,41 @@ +From cf7e97ece39994d9c219bf3d4f3f70815e1c0867 Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Tue, 15 May 2018 13:40:37 +0200 +Subject: [PATCH] attr/xattr.h is deprecated. Use sys/xattr.h instead + +See also: +http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38 +--- + configure.ac | 2 +- + src/xattr_manager.hpp | 5 ++++- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 040e88f..bc769f3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -156,7 +156,7 @@ fi + + if test x$enable_eua = xyes; + then +- AC_CHECK_HEADERS([attr/xattr.h], [], AC_MSG_ERROR([This header is mandatory for extended user attributes support]), []) ++ AC_CHECK_HEADERS([sys/xattr.h], [], AC_MSG_ERROR([This header is mandatory for extended user attributes support]), []) + AC_DEFINE([ENABLE_USER_XATTR], [1], [Enables user extended attributes support]) + fi + AM_CONDITIONAL(ENABLE_USER_XATTR, test x$enable_eua = xyes) +diff --git a/src/xattr_manager.hpp b/src/xattr_manager.hpp +index 5f59e17..3d41443 100644 +--- a/src/xattr_manager.hpp ++++ b/src/xattr_manager.hpp +@@ -26,7 +26,10 @@ + #include <sys/stat.h> + #include <unistd.h> + +-#include <attr/xattr.h> ++#include <sys/xattr.h> ++#ifndef ENOATTR ++#define ENOATTR ENODATA ++#endif + + #include <string> + #include <cstring> |