nilfs-utils: fix musl build (Alpine patch)
This commit is contained in:
parent
3c8f807e4d
commit
ab04e869c7
12
srcpkgs/nilfs-utils/patches/max-input.patch
Normal file
12
srcpkgs/nilfs-utils/patches/max-input.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- ./bin/rmcp.c.orig
|
||||||
|
+++ ./bin/rmcp.c
|
||||||
|
@@ -51,6 +51,9 @@
|
||||||
|
#include "nilfs.h"
|
||||||
|
#include "parser.h"
|
||||||
|
|
||||||
|
+#ifndef MAX_INPUT
|
||||||
|
+#define MAX_INPUT _POSIX_MAX_INPUT
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#ifdef _GNU_SOURCE
|
||||||
|
#include <getopt.h>
|
11
srcpkgs/nilfs-utils/patches/rpc-types.patch
Normal file
11
srcpkgs/nilfs-utils/patches/rpc-types.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./sbin/mount/sundries.h.orig
|
||||||
|
+++ ./sbin/mount/sundries.h
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
#include <signal.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
-#if !defined(bool_t) && !defined(__GLIBC__)
|
||||||
|
+#if !defined(bool_t) && !defined(__GLIBC__) && HAVE_RPC_TYPES_H
|
||||||
|
#include <rpc/types.h>
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user