forked from pool/mono-core
This commit is contained in:
parent
1d3e39f4ab
commit
151b07735f
11
mono-core-arg_max.diff
Normal file
11
mono-core-arg_max.diff
Normal 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);
|
||||||
|
}
|
@ -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
|
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||||
|
|
||||||
|
@ -17,9 +17,11 @@ Group: Development/Languages/Mono
|
|||||||
Summary: A .NET Runtime Environment
|
Summary: A .NET Runtime Environment
|
||||||
Url: http://go-mono.org/
|
Url: http://go-mono.org/
|
||||||
Version: 1.9
|
Version: 1.9
|
||||||
Release: 6
|
Release: 7
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: mono-%{version}.tar.bz2
|
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
|
ExclusiveArch: %ix86 x86_64 ppc hppa armv4l sparc s390 ia64 s390x
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Provides: mono = %{version}-%{release}
|
Provides: mono = %{version}-%{release}
|
||||||
@ -1005,6 +1007,8 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mono-%{version}
|
%setup -q -n mono-%{version}
|
||||||
|
%patch
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# These are only needed if there are patches to the runtime
|
# 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}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Apr 10 2008 ro@suse.de
|
||||||
- added baselibs.conf file to build xxbit packages
|
- added baselibs.conf file to build xxbit packages
|
||||||
for multilib support
|
for multilib support
|
||||||
|
11
mono-libtool.diff
Normal file
11
mono-libtool.diff
Normal 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)
|
Loading…
Reference in New Issue
Block a user