aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nilfs-utils/max-input.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-15 12:22:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-15 12:29:44 +0000
commit1f38fcbfe526213426a6440200d354562ab47a0e (patch)
treecb1516965cf0a2e3d7948a727072428be8db65dd /testing/nilfs-utils/max-input.patch
parente83efe677ab545847a0d8b880ebdf4da5c089b0a (diff)
downloadaports-1f38fcbfe526213426a6440200d354562ab47a0e.tar.bz2
aports-1f38fcbfe526213426a6440200d354562ab47a0e.tar.xz
testing/nilfs-utils: new aport
Utilities for managing NILFS v2 filesystems http://nilfs.sourceforge.net fixes #2285
Diffstat (limited to 'testing/nilfs-utils/max-input.patch')
-rw-r--r--testing/nilfs-utils/max-input.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/nilfs-utils/max-input.patch b/testing/nilfs-utils/max-input.patch
new file mode 100644
index 0000000000..5241ea55c0
--- /dev/null
+++ b/testing/nilfs-utils/max-input.patch
@@ -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>