SOURCES: mono-ARG_MAX.patch (NEW) - fix build with glibc 2.8 (based on patc...

qboosh qboosh at pld-linux.org
Wed Jun 18 23:48:11 CEST 2008


Author: qboosh                       Date: Wed Jun 18 21:48:11 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with glibc 2.8 (based on patch from gentoo)

---- Files affected:
SOURCES:
   mono-ARG_MAX.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mono-ARG_MAX.patch
diff -u /dev/null SOURCES/mono-ARG_MAX.patch:1.1
--- /dev/null	Wed Jun 18 23:48:12 2008
+++ SOURCES/mono-ARG_MAX.patch	Wed Jun 18 23:48:05 2008
@@ -0,0 +1,16 @@
+--- mono-1.9.1/mono/io-layer/wapi_glob.c.orig	2007-11-08 23:07:22.000000000 +0100
++++ mono-1.9.1/mono/io-layer/wapi_glob.c	2008-06-18 21:55:40.512789881 +0200
+@@ -54,6 +54,13 @@
+ 
+ #include "wapi_glob.h"
+ 
++#if defined(_SC_ARG_MAX)
++# if defined(ARG_MAX)
++#    undef ARG_MAX
++# endif
++# define ARG_MAX sysconf (_SC_ARG_MAX)
++#endif
++
+ #define	EOS		'\0'
+ #define	NOT		'!'
+ #define	QUESTION	'?'
================================================================


More information about the pld-cvs-commit mailing list