[macruby-changes] [3748] MacRuby/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 12 17:07:03 PST 2010
Revision: 3748
http://trac.macosforge.org/projects/ruby/changeset/3748
Author: eloy.de.enige at gmail.com
Date: 2010-03-12 17:07:03 -0800 (Fri, 12 Mar 2010)
Log Message:
-----------
Make build green for us poor SL users
Modified Paths:
--------------
MacRuby/trunk/ext/ripper/extconf.rb
MacRuby/trunk/string.c
Modified: MacRuby/trunk/ext/ripper/extconf.rb
===================================================================
--- MacRuby/trunk/ext/ripper/extconf.rb 2010-03-13 00:51:58 UTC (rev 3747)
+++ MacRuby/trunk/ext/ripper/extconf.rb 2010-03-13 01:07:03 UTC (rev 3748)
@@ -16,6 +16,7 @@
$defs << '-DRIPPER_DEBUG' if $debug
$VPATH << '$(topdir)' << '$(top_srcdir)'
$INCFLAGS << ' -I$(topdir) -I$(top_srcdir) -I$(top_srcdir)/onig'
+ $INCFLAGS << ' -I../../icu-1060' if `sw_vers -productVersion`.to_f <= 10.6
$CFLAGS << ' -std=c99'
create_makefile 'ripper'
end
Modified: MacRuby/trunk/string.c
===================================================================
--- MacRuby/trunk/string.c 2010-03-13 00:51:58 UTC (rev 3747)
+++ MacRuby/trunk/string.c 2010-03-13 01:07:03 UTC (rev 3748)
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <wctype.h>
+#include <unistd.h>
#include "ruby.h"
#include "ruby/encoding.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100312/47ae65bd/attachment.html>
More information about the macruby-changes
mailing list