void-packages/templates/OpenRC/build.diff

15 lines
399 B
Diff
Raw Normal View History

http://roy.marples.name/projects/openrc/ticket/177
--- src/rc/rc.c.orig 2009-06-20 08:14:19.018885584 +0200
+++ src/rc/rc.c 2009-06-20 08:13:52.000000000 +0200
@@ -45,6 +45,9 @@ const char rc_copyright[] = "Copyright (
#ifdef __linux__
# include <asm/setup.h> /* for COMMAND_LINE_SIZE */
+# ifndef COMMAND_LINE_SIZE
+# define COMMAND_LINE_SIZE 2048
+# endif
#endif
#include <errno.h>