aboutsummaryrefslogtreecommitdiffstats
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
parent3ee0326bf90dfd4d88543ae9d8ca3c8b1ad49235 (diff)
downloadruby-1196b798d63f2834b2db6ed09794c1f1ea517b9b.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 63bf27bb3f..e003977b59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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