void-packages/srcpkgs/nilfs-utils/patches/max-input.patch
2016-04-27 10:44:31 +02:00

12 lines
206 B
Diff

--- ./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>