/[gentoo-x86]/sys-devel/make/files/make-3.81-long-cmdline.patch
Gentoo

Diff of /sys-devel/make/files/make-3.81-long-cmdline.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
13 MAX_ARG_STRLEN if it is defined. 13 MAX_ARG_STRLEN if it is defined.
14 Problem reported against Automake by Xan Lopez <xan <at> gnome.org>. 14 Problem reported against Automake by Xan Lopez <xan <at> gnome.org>.
15 15
16--- job.c.orig 2010-01-15 18:36:53.000000000 +0200 16--- job.c.orig 2010-01-15 18:36:53.000000000 +0200
17+++ job.c 2010-01-15 18:41:09.000000000 +0200 17+++ job.c 2010-01-15 18:41:09.000000000 +0200
18@@ -29,6 +29,11 @@ 18@@ -29,6 +29,15 @@
19 19
20 #include <string.h> 20 #include <string.h>
21 21
22+#if defined(__linux__) /* defined (HAVE_LINUX_BINFMTS_H) && defined (HAVE_SYS_USER_H) */ 22+#if defined(__linux__) /* defined (HAVE_LINUX_BINFMTS_H) && defined (HAVE_SYS_USER_H) */
23+#include <sys/user.h> 23+#include <sys/user.h>
24+#include <unistd.h>
25+#ifndef PAGE_SIZE
26+#define PAGE_SIZE sysconf(_SC_PAGE_SIZE)
27+#endif
24+#include <linux/binfmts.h> 28+#include <linux/binfmts.h>
25+#endif 29+#endif
26+ 30+
27 /* Default shell to use. */ 31 /* Default shell to use. */
28 #ifdef WINDOWS32 32 #ifdef WINDOWS32

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20