diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.in | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Nov 20 22:35:02 2012 NARUSE, Yui <naruse@ruby-lang.org> + + * Makefile.in (.d.h): replace char * to const char * because somehow + current dtrace removes const of function declaration in probes.d. + Tue Nov 20 21:41:04 2012 Koichi Sasada <ko1@atdot.net> * include/ruby/debug.h: introduced. diff --git a/Makefile.in b/Makefile.in index 1a1fa90478..f6ea67d196 100644 --- a/Makefile.in +++ b/Makefile.in @@ -335,7 +335,7 @@ enc/unicode/name2ctype.h: enc/unicode/name2ctype.kwd .d.h: @$(ECHO) translating probes $< $(Q) $(DTRACE) -o $@.tmp -h -s $< - $(Q) sed -e 's/RUBY_/RUBY_DTRACE_/g' -e 's/PROBES_H_TMP/PROBES_H/g' $@.tmp > $@ + $(Q) sed -e 's/RUBY_/RUBY_DTRACE_/g' -e 's/PROBES_H_TMP/PROBES_H/g' -e 's/(char \*/(const char */g' -e 's/, char \*/, const char */g' $@.tmp > $@ $(Q) $(RM) $@.tmp probes.@OBJEXT@: $(srcdir)/probes.d |