summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-15 22:27:57 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-15 22:27:57 +0000
commit654ce1aaa5fba48a6b7f613dae4744d4e830c43b (patch)
treecf7effa9ddf24aad65eb21abb0bf2a1c162f770e /app-shells/fish/files
parentadd glib to RDEPEND, bug #227309. Drop mips to ~arch to silence repoman. (diff)
downloadgentoo-2-654ce1aaa5fba48a6b7f613dae4744d4e830c43b.tar.gz
gentoo-2-654ce1aaa5fba48a6b7f613dae4744d4e830c43b.tar.bz2
gentoo-2-654ce1aaa5fba48a6b7f613dae4744d4e830c43b.zip
Fix 227281, glibc-2.8 compatibility.
(Portage version: 2.1.5.5)
Diffstat (limited to 'app-shells/fish/files')
-rw-r--r--app-shells/fish/files/fish-1.23.0-glibc-2.8.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-shells/fish/files/fish-1.23.0-glibc-2.8.patch b/app-shells/fish/files/fish-1.23.0-glibc-2.8.patch
new file mode 100644
index 000000000000..25c28319bf92
--- /dev/null
+++ b/app-shells/fish/files/fish-1.23.0-glibc-2.8.patch
@@ -0,0 +1,22 @@
+diff -NrU5 fish-1.23.0.orig/exec.c fish-1.23.0/exec.c
+--- fish-1.23.0.orig/exec.c 2008-06-16 00:16:10.000000000 +0200
++++ fish-1.23.0/exec.c 2008-06-16 00:21:02.000000000 +0200
+@@ -11,10 +11,18 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <termios.h>
+ #include <unistd.h>
++
++#if defined(_SC_ARG_MAX)
++# if defined(ARG_MAX)
++# undef ARG_MAX
++# endif
++# define ARG_MAX sysconf (_SC_ARG_MAX)
++#endif
++
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <wchar.h>
+ #include <string.h>
+ #include <limits.h>