FreeBSD Bugzilla – Attachment 227716 Details for
Bug 257527
lang/ruby27: add DTRACE option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to ruby port
ruby27_ld_dtrace-rev0.diff (text/plain), 897 bytes, created by
Steve Wills
on 2021-09-06 19:04:41 UTC
(
hide
)
Description:
patch to ruby port
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2021-09-06 19:04:41 UTC
Size:
897 bytes
patch
obsolete
>diff --git lang/ruby27/files/patch-tool_m4_ruby__dtrace__available.m4 lang/ruby27/files/patch-tool_m4_ruby__dtrace__available.m4 >new file mode 100644 >index 000000000000..248ea01f3314 >--- /dev/null >+++ lang/ruby27/files/patch-tool_m4_ruby__dtrace__available.m4 >@@ -0,0 +1,11 @@ >+--- tool/m4/ruby_dtrace_available.m4.orig 2021-09-06 18:40:48 UTC >++++ tool/m4/ruby_dtrace_available.m4 >+@@ -4,7 +4,7 @@ AC_DEFUN([RUBY_DTRACE_AVAILABLE], >+ [ >+ echo "provider conftest{ probe fire(); };" > conftest_provider.d >+ rb_cv_dtrace_available=no >+- AS_FOR(opt, rb_dtrace_opt, ["-xnolibs" ""], [dnl >++ AS_FOR(opt, rb_dtrace_opt, ["-x ldpath=${LD} -xnolibs" "-xnolibs" ""], [dnl >+ AS_IF([$DTRACE opt -h -o conftest_provider.h -s conftest_provider.d >/dev/null 2>/dev/null], >+ [], [continue]) >+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include "conftest_provider.h"]], [[CONFTEST_FIRE();]])],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257527
:
226828
| 227716