SHA256
1
0
forked from pool/mono-core
OBS User unknown 2008-04-11 21:31:21 +00:00 committed by Git OBS Bridge
parent 1d3e39f4ab
commit 151b07735f
4 changed files with 43 additions and 1 deletions

11
mono-core-arg_max.diff Normal file
View File

@ -0,0 +1,11 @@
--- mono/io-layer/wapi_glob.c
+++ mono/io-layer/wapi_glob.c
@@ -300,7 +300,7 @@
pathv[pglob->gl_offs + pglob->gl_pathc] = NULL;
if ((pglob->gl_flags & WAPI_GLOB_LIMIT) &&
- newsize + *limitp >= ARG_MAX) {
+ newsize + *limitp >= sysconf (_SC_ARG_MAX)) {
errno = 0;
return(WAPI_GLOB_NOSPACE);
}

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Apr 11 15:45:33 CEST 2008 - schwab@suse.de
- Work around broken configure script.
-------------------------------------------------------------------
Fri Apr 11 10:00:20 CEST 2008 - aj@suse.de
- glibc does not define ARG_MAX anymore, use sysconf (_SC_ARG_MAX)
instead.
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de

View File

@ -17,9 +17,11 @@ Group: Development/Languages/Mono
Summary: A .NET Runtime Environment
Url: http://go-mono.org/
Version: 1.9
Release: 6
Release: 7
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: mono-%{version}.tar.bz2
Patch: mono-core-arg_max.diff
Patch1: mono-libtool.diff
ExclusiveArch: %ix86 x86_64 ppc hppa armv4l sparc s390 ia64 s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: mono = %{version}-%{release}
@ -1005,6 +1007,8 @@ Authors:
%prep
%setup -q -n mono-%{version}
%patch
%patch1
%build
# These are only needed if there are patches to the runtime
@ -1093,6 +1097,11 @@ rm -f $RPM_BUILD_ROOT/usr/lib/mono/1.0/transform.exe
rm -rf ${RPM_BUILD_ROOT}
%changelog
* Fri Apr 11 2008 schwab@suse.de
- Work around broken configure script.
* Fri Apr 11 2008 aj@suse.de
- glibc does not define ARG_MAX anymore, use sysconf (_SC_ARG_MAX)
instead.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support

11
mono-libtool.diff Normal file
View File

@ -0,0 +1,11 @@
--- configure.in
+++ configure.in
@@ -44,7 +44,7 @@ libmono_cflags=""
libmono_ldflags=""
AC_SUBST(libmono_cflags)
AC_SUBST(libmono_ldflags)
-export_ldflags=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+export_ldflags=`(if test -x libtool; then ./libtool --config; then libtool --config; fi; echo eval echo \\$export_dynamic_flag_spec) | sh`
AC_SUBST(export_ldflags)
# Variable to have relocatable .pc files (lib, or lib64)