public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-shells/fish/files: fish-1.23.0-glibc-2.8.patch
@ 2008-06-15 22:27 Peter Alfredsen (loki_val)
  0 siblings, 0 replies; only message in thread
From: Peter Alfredsen (loki_val) @ 2008-06-15 22:27 UTC (permalink / raw
  To: gentoo-commits

loki_val    08/06/15 22:27:57

  Added:                fish-1.23.0-glibc-2.8.patch
  Log:
  Fix 227281, glibc-2.8 compatibility.
  (Portage version: 2.1.5.5)

Revision  Changes    Path
1.1                  app-shells/fish/files/fish-1.23.0-glibc-2.8.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/fish/files/fish-1.23.0-glibc-2.8.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/fish/files/fish-1.23.0-glibc-2.8.patch?rev=1.1&content-type=text/plain

Index: fish-1.23.0-glibc-2.8.patch
===================================================================
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>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-15 22:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-15 22:27 [gentoo-commits] gentoo-x86 commit in app-shells/fish/files: fish-1.23.0-glibc-2.8.patch Peter Alfredsen (loki_val)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox