summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2003-10-23 10:51:44 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2003-10-23 10:51:44 +0000
commit85e23effa40e2add52d1d10c0d9906aef95c72cb (patch)
tree1abb277d8065ed8d122d11aecbe8543f6462b89b /sys-apps/findutils/files
parentEnlarge environment limit to at least temporarilly releave the presure by ebu... (diff)
downloadgentoo-2-85e23effa40e2add52d1d10c0d9906aef95c72cb.tar.gz
gentoo-2-85e23effa40e2add52d1d10c0d9906aef95c72cb.tar.bz2
gentoo-2-85e23effa40e2add52d1d10c0d9906aef95c72cb.zip
Enlarge environment limit to at least temporarilly releave the presure by ebuild.sh etc. so that openoffice can be build
Diffstat (limited to 'sys-apps/findutils/files')
-rw-r--r--sys-apps/findutils/files/digest-findutils-4.1.20-r12
-rw-r--r--sys-apps/findutils/files/findutils-env-size.patch15
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-apps/findutils/files/digest-findutils-4.1.20-r1 b/sys-apps/findutils/files/digest-findutils-4.1.20-r1
new file mode 100644
index 000000000000..f304c6405801
--- /dev/null
+++ b/sys-apps/findutils/files/digest-findutils-4.1.20-r1
@@ -0,0 +1,2 @@
+MD5 e90ce7222daadeb8616b8db461e17cbc findutils-4.1.20.tar.gz 777980
+MD5 0fe2231e7a309c98077b7290b6269e49 findutils-4.1.20-2003011510-selinux-gentoo.patch.bz2 4407
diff --git a/sys-apps/findutils/files/findutils-env-size.patch b/sys-apps/findutils/files/findutils-env-size.patch
new file mode 100644
index 000000000000..7a1d69bc53f8
--- /dev/null
+++ b/sys-apps/findutils/files/findutils-env-size.patch
@@ -0,0 +1,15 @@
+diff -urN findutils-4.1.20.orig/xargs/xargs.c findutils-4.1.20/xargs/xargs.c
+--- findutils-4.1.20.orig/xargs/xargs.c 2003-10-23 11:36:08.000000000 +0200
++++ findutils-4.1.20/xargs/xargs.c 2003-10-23 11:38:04.000000000 +0200
+@@ -300,8 +300,9 @@
+ have it at 1 meg). Things will work fine with a large ARG_MAX but it
+ will probably hurt the system more than it needs to; an array of this
+ size is allocated. */
+- if (arg_max > 20 * 1024)
+- arg_max = 20 * 1024;
++/* Make this 50 k as ebuild.sh is too big */
++ if (arg_max > 50 * 1024)
++ arg_max = 50 * 1024;
+
+ /* Take the size of the environment into account. */
+ arg_max -= env_size (environ);