summarylogtreecommitdiffstats
path: root/xattr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xattr.patch')
-rw-r--r--xattr.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/xattr.patch b/xattr.patch
deleted file mode 100644
index 7d2416072cce..000000000000
--- a/xattr.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur cvmfs-2.5.0.orig/CMakeLists.txt cvmfs-2.5.0/CMakeLists.txt
---- cvmfs-2.5.0.orig/CMakeLists.txt 2018-06-27 17:53:00.709949213 +0200
-+++ cvmfs-2.5.0/CMakeLists.txt 2018-06-27 17:53:45.610111417 +0200
-@@ -247,21 +247,6 @@
- sys/wait.h sys/select.h pthread.h termios.h utime.h
- signal.h errno.h dirent.h unistd.h fcntl.h netdb.h
- syslog.h sys/resource.h execinfo.h poll.h pwd.h grp.h)
--if (NOT MACOSX)
-- # Unfortunately, attr/xattr.h fails to compile without including sys/types.h
-- # before including attr/xattr.h (it uses size_t and ssize_t).
-- # CMake searches for include files by compiling a minimal *.c file like:
-- # #include <${SEARCHED_HEADER_FILE}>
-- # int main(int argc, char **argv) { return 0; }
-- #
-- # We pre-define the include guard of attr/xattr.h and thus still check, if the
-- # file is found by the compiler but mitigating the compiler errors caused by
-- # a standalone inclusion of attr/xattr.h
-- set (CMAKE_REQUIRED_DEFINITIONS "-D__XATTR_H__")
-- set (REQUIRED_HEADERS ${REQUIRED_HEADERS}
-- sys/statfs.h
-- attr/xattr.h)
--endif (NOT MACOSX)
-
- look_for_include_files (${REQUIRED_HEADERS})
-
-diff -Naur cvmfs-2.5.0.orig/cvmfs/platform_linux.h cvmfs-2.5.0/cvmfs/platform_linux.h
---- cvmfs-2.5.0.orig/cvmfs/platform_linux.h 2018-06-27 17:53:00.719949251 +0200
-+++ cvmfs-2.5.0/cvmfs/platform_linux.h 2018-06-27 17:53:03.899960637 +0200
-@@ -9,7 +9,6 @@
-
- #include <sys/types.h> // contains ssize_t needed inside <attr/xattr.h>
- #include <sys/xattr.h>
--#include <attr/xattr.h> // NOLINT(build/include_alpha)
- #include <dirent.h>
- #include <errno.h>
- #include <fcntl.h>