summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-20 13:48:04 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-20 13:48:04 +0000
commit1196b798d63f2834b2db6ed09794c1f1ea517b9b (patch)
treef43707d147dcf80e7b973066538c3e1486389c72 /Makefile.in
parent3ee0326bf90dfd4d88543ae9d8ca3c8b1ad49235 (diff)
* Makefile.in (.d.h): replace char * to const char * because somehow
current dtrace removes const of function declaration in probes.d. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
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