summaryrefslogtreecommitdiff
path: root/recipes-support/snapd/files/0003-cmd-disable-check-for-xfs-xqm.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/snapd/files/0003-cmd-disable-check-for-xfs-xqm.h.patch')
-rw-r--r--recipes-support/snapd/files/0003-cmd-disable-check-for-xfs-xqm.h.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-support/snapd/files/0003-cmd-disable-check-for-xfs-xqm.h.patch b/recipes-support/snapd/files/0003-cmd-disable-check-for-xfs-xqm.h.patch
new file mode 100644
index 0000000..4c667e8
--- /dev/null
+++ b/recipes-support/snapd/files/0003-cmd-disable-check-for-xfs-xqm.h.patch
@@ -0,0 +1,26 @@
+From 474abfb5460dcd4af5e651d12631b87d36c5fc66 Mon Sep 17 00:00:00 2001
+From: Simon Fels <simon.fels@canonical.com>
+Date: Mon, 27 Mar 2017 14:18:41 +0200
+Subject: [PATCH 3/4] cmd: disable check for xfs/xqm.h
+
+---
+ cmd/configure.ac | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/cmd/configure.ac b/cmd/configure.ac
+index 3c921ac..a6b62b3 100644
+--- a/cmd/configure.ac
++++ b/cmd/configure.ac
+@@ -19,7 +19,8 @@ AC_LANG([C])
+ # Checks for header files.
+ AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/mount.h unistd.h])
+ AC_CHECK_HEADERS([sys/quota.h], [], [AC_MSG_ERROR(sys/quota.h unavailable)])
+-AC_CHECK_HEADERS([xfs/xqm.h], [], [AC_MSG_ERROR(xfs/xqm.h unavailable)])
++# YOCTO: Disabled until we have a better way to do this check.
++# AC_CHECK_HEADERS([xfs/xqm.h], [], [AC_MSG_ERROR(xfs/xqm.h unavailable)])
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_CHECK_HEADER_STDBOOL
+--
+2.7.4
+