I sent this email to the package maintainer a couple days ago but
haven't heard a response. mingw-gcc wasn't building for me on
10.5/Intel because of a ulimit error, so I looked at how it was
handled between packages gcc4 and gcc43 and applied the same. Is this
the right fix?

-Tom

---------- Forwarded message ----------
From: Thomas Kho <[email protected]>
Date: Sun, Jan 4, 2009 at 8:57 AM
Subject: fink mingw-gcc build error
To: [email protected]


Hi,

I get an error "ulimit: stack size: cannot modify limit: Invalid
argument" when building mingw-gcc on 10.5/Intel.

http://archive.netbsd.se/?ml=fink-beginners&a=2008-03&t=6632513 shows
gcc4 also had the same ulimit command which was changed to ulimit -s
`ulimit -s` in the gcc43 package.

The patch below fixed it for me...could you help get this into Fink?

-Tom

--

--- mingw-gcc.info.orig 2009-01-04 07:56:38.000000000 -0800
+++ mingw-gcc.info      2009-01-04 08:03:23.000000000 -0800
@@ -1,6 +1,6 @@
 Package: mingw-gcc
 Version: 4.1.0
-Revision: 2
+Revision: 3
 Description: GNU GCC for MinGW
 License: LGPL
 Maintainer: ASARI Takashi <[email protected]>
@@ -46,7 +46,7 @@

 CompileScript: <<
 #!/bin/sh -ev
- ulimit -S -s unlimited
+ ulimit -s `ulimit -s`
 mkdir darwin
 cd darwin
 ../configure %c

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to