From 534c4c20c3fa5ad9500ea96093a3ece7821a6056 Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Wed, 1 Apr 2015 09:45:20 +0200 Subject: [PATCH] build: Use glibc's xattr support instead of requiring libattr Fixes the build on Debian, and is one library less. Closes: #78 --- configure.ac | 2 +- libglnx | 2 +- src/libostree/ostree-repo-checkout.c | 2 +- src/libostree/ostree-repo-commit.c | 2 +- src/libotutil/ot-fs-utils.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 40425240..e11be41e 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ AC_ARG_ENABLE(installed_tests, [enable_installed_tests=no]) AM_CONDITIONAL(BUILDOPT_INSTALL_TESTS, test x$enable_installed_tests = xyes) -AC_CHECK_HEADER([attr/xattr.h],,[AC_MSG_ERROR([You must have attr/xattr.h from libattr])]) +AC_CHECK_HEADER([sys/xattr.h],,[AC_MSG_ERROR([You must have sys/xattr.h from glibc])]) PKG_PROG_PKG_CONFIG diff --git a/libglnx b/libglnx index 08d1339f..d59a63e3 160000 --- a/libglnx +++ b/libglnx @@ -1 +1 @@ -Subproject commit 08d1339f9a61c0b437a623e68ebf2c64258d6087 +Subproject commit d59a63e3e650aa75a055e4ede523790d60645435 diff --git a/src/libostree/ostree-repo-checkout.c b/src/libostree/ostree-repo-checkout.c index daca66ee..22aaf564 100644 --- a/src/libostree/ostree-repo-checkout.c +++ b/src/libostree/ostree-repo-checkout.c @@ -23,7 +23,7 @@ #include "config.h" #include -#include +#include #include #include #include "otutil.h" diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c index ce5aa079..6ba606fe 100644 --- a/src/libostree/ostree-repo-commit.c +++ b/src/libostree/ostree-repo-commit.c @@ -34,7 +34,7 @@ #include "ostree-checksum-input-stream.h" #include "ostree-mutable-tree.h" #include "ostree-varint.h" -#include +#include #include gboolean diff --git a/src/libotutil/ot-fs-utils.c b/src/libotutil/ot-fs-utils.c index 7137b829..040636bd 100644 --- a/src/libotutil/ot-fs-utils.c +++ b/src/libotutil/ot-fs-utils.c @@ -22,7 +22,7 @@ #include "ot-fs-utils.h" #include "libgsystem.h" -#include +#include #include int