summaryrefslogtreecommitdiffstats
path: root/package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch
diff options
context:
space:
mode:
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>2017-12-28 20:45:55 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-31 17:53:31 +0100
commitb99c7563d0147ea95b7e176ffeacd42b0a21fece (patch)
tree64fac875e0a1415288d9a0b4c4dab5358e271538 /package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch
parenteaa4d2ead333add4737ed3593090d0d69d285420 (diff)
downloadbuildroot-b99c7563d0147ea95b7e176ffeacd42b0a21fece.tar.gz
buildroot-b99c7563d0147ea95b7e176ffeacd42b0a21fece.zip
nilfs-utils: new package
nilfs-utils provides the user-space utilities for the nilfs2 filesystem. Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch')
-rw-r--r--package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch b/package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch
new file mode 100644
index 0000000000..9d54c40fcc
--- /dev/null
+++ b/package/nilfs-utils/0003-mount.nilfs-drop-include-rpc-types.h.patch
@@ -0,0 +1,32 @@
+From a924a05ea6fd8c5284983a09d1ea8993124b6b77 Mon Sep 17 00:00:00 2001
+From: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
+Date: Thu, 28 Dec 2017 20:26:09 +0100
+Subject: [PATCH] mount.nilfs: drop include rpc/types.h
+
+rpc/types.h does not exist on low-footprint musl toolchains,
+and is only required for the boolean types, which musl provides
+elsewhere.
+This commit drops the include completely.
+
+Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
+---
+ sbin/mount/sundries.h | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/sbin/mount/sundries.h b/sbin/mount/sundries.h
+index b3064a7..94d8ce4 100644
+--- a/sbin/mount/sundries.h
++++ b/sbin/mount/sundries.h
+@@ -15,9 +15,6 @@
+ #include <signal.h>
+ #include <stdarg.h>
+ #include <stdlib.h>
+-#if !defined(bool_t) && !defined(__GLIBC__)
+-#include <rpc/types.h>
+-#endif
+
+ extern int mount_quiet;
+
+--
+1.8.5.rc3
+
OpenPOWER on IntegriCloud