head 1.6; access; symbols pkgsrc-2025Q1:1.4.0.20 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.18 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.16 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.14 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.12 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.10 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.8 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.6 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.4 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.2 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.2.0.4 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.2 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2025.05.27.16.09.57; author taca; state dead; branches; next 1.5; commitid EWX3FXAiOuglWyWF; 1.5 date 2025.04.21.20.54.55; author wiz; state Exp; branches; next 1.4; commitid pdHbBWSRQH1UFXRF; 1.4 date 2022.12.05.11.47.03; author jperkin; state Exp; branches; next 1.3; commitid Rwqeuc9i1UTKxm4E; 1.3 date 2022.11.26.13.02.49; author taca; state Exp; branches; next 1.2; commitid eDrpkbWzixEGfd3E; 1.2 date 2022.05.04.15.49.51; author jperkin; state Exp; branches 1.2.4.1; next 1.1; commitid ttfJa9t1af9xNKCD; 1.1 date 2022.01.16.13.57.10; author taca; state Exp; branches 1.1.2.1; next ; commitid N3AiKTZv8qw6ERoD; 1.2.4.1 date 2022.11.30.17.19.03; author bsiegert; state Exp; branches; next ; commitid zGO22egdEjgFxK3E; 1.1.2.1 date 2022.05.08.14.53.38; author bsiegert; state Exp; branches; next ; commitid mJP2DyHiy9IjmgDD; desc @@ 1.6 log @lang/ruby31-base: remove package Package: ruby (3.1) eol date: March 26, 2025 URL: https://www.ruby-lang.org/en/downloads/branches/ @ text @$NetBSD: patch-configure,v 1.5 2025/04/21 20:54:55 wiz Exp $ * Avoid bash specific variable substitution. * Ignore doxygen. * Ignore VCS. * Handle SSP in pkgsrc. * Retain _XOPEN_SOURCE, fixes eventmachine. * Fix argument for pthread_self() on NetBSD. * Explictly stop display with color. --- configure.orig 2022-11-24 10:20:33.000000000 +0000 +++ configure @@@@ -3942,12 +3942,12 @@@@ case "$target_cpu-$target_os" in #( target_cpu=arm64 case "$target_vendor" in #( unknown) : - target_vendor=apple target=${target/-unknown-/-apple-} ;; #( + target_vendor=apple target=$(echo ${target} | sed -e 's/-unknown-/-apple-/g') ;; #( *) : ;; esac - target="${target/aarch64/arm64}" - target_alias="${target_alias/aarch64/arm64}" + target="$(echo ${target} | sed -e 's/aarch64/arm64/g')" + target_alias="$(echo ${target_alias} | sed -e 's/aarch64/arm64/g')" ;; #( *) : ;; @@@@ -9361,7 +9361,7 @@@@ else $as_nop then : case "$target_os" in #( - darwin*) : + nodarwin*) : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5 printf %s "checking for real target cpu... " >&6; } @@@@ -11355,6 +11355,7 @@@@ fi stack_protector=no ;; #( *) : + stack_protector=no ;; esac if test -z "${stack_protector+set}" @@@@ -13198,18 +13199,6 @@@@ then : CPPFLAGS="$CPPFLAGS ${rb_opt}" ;; esac done - # _XOPEN_SOURCE should not be defined for C++ on Solaris. - # RUBY_APPEND_OPTIONS(CXXFLAGS) - for rb_opt in -U_XOPEN_SOURCE; do - case " ${CXXFLAGS-} " in #( - *" ${rb_opt} "*) : - ;; #( - ' ') : - CXXFLAGS="${rb_opt}" ;; #( - *) : - CXXFLAGS="$CXXFLAGS ${rb_opt}" ;; -esac - done fi @@@@ -25518,7 +25511,9 @@@@ else #include #include #ifndef alloca -# ifdef __GNUC__ +# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) +# include +# elif defined __GNUC__ # define alloca __builtin_alloca # elif defined _MSC_VER # include @@@@ -30713,7 +30710,7 @@@@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $flag is accepted for bundle" >&5 printf %s "checking whether $flag is accepted for bundle... " >&6; } : > conftest.c - if ${LDSHARED/'$(CC)'/$CC} -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && + if $(echo ${LDSHARED} | sed -e "s/'$(CC)'/$CC/g") -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && test ! -s conftest.err then : @@@@ -31748,8 +31745,10 @@@@ fi ;; #( freebsd*|dragonfly*) : + RUBY_SO_NAME="${RUBY_SO_NAME}"'.$(RUBY_PROGRAM_VERSION)' LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)' - LIBRUBY_SONAME='$(LIBRUBY_SO)' + LIBRUBY_SONAME='lib$(RUBY_BASE_NAME).$(RUBY_API_VERSION).$(SOEXT)' + LIBRUBY_ALIASES='$(LIBRUBY_SONAME) lib$(RUBY_INSTALL_NAME).$(SOEXT)' if test "$rb_cv_binary_elf" != "yes" then : @@@@ -31847,9 +31846,10 @@@@ esac ;; #( darwin*) : + RUBY_SO_NAME="${RUBY_SO_NAME}"'.$(RUBY_PROGRAM_VERSION)' LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT)' - LIBRUBY_SONAME='$(LIBRUBY_SO)' - LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).$(SOEXT)' + LIBRUBY_SONAME='lib$(RUBY_BASE_NAME).$(RUBY_API_VERSION).$(SOEXT)' + LIBRUBY_ALIASES='$(LIBRUBY_SONAME) lib$(RUBY_INSTALL_NAME).$(SOEXT)' if test "$load_relative" = yes then : @@@@ -32065,7 +32070,7 @@@@ then : esac rpathflag=`IFS="$PATH_SEPARATOR" echo x "$rpathflag" | - sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${libprefix}${IFS}g;s${IFS}%s${IFS}${libprefix}${IFS}g" + sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${libprefix}${IFS}g;s${IFS}%s${IFS}${PREFIX}/lib${IFS}g" ` LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${rpathflag}" LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED" @@@@ -33706,7 +33711,7 @@@@ guard=INCLUDE_RUBY_CONFIG_H ( if test "x$CONFIGURE_TTY" = xyes then : - color=--color + color=--color=never else $as_nop color= fi @@@@ -34930,21 +34935,7 @@@@ which seems to be undefined. Please mak "Makefile":F) tmpmk=confmk$$.tmp { - if test ${VCS+set} -then : - - : - -elif git_dir=`$GIT --work-tree="$srcdir" --git-dir="$srcdir/.git" rev-parse --git-dir 2>/dev/null` -then : - - VCS='$(GIT)' - -else $as_nop - VCS='echo cannot' - -fi case "$VCS" in #( '$(GIT)'|git) : VCSUP='$(VCS) pull --rebase $(GITPULLOPTIONS)' ;; #( @ 1.5 log @ruby*: remove Interix support @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2022/12/05 11:47:03 jperkin Exp $ @ 1.4 log @ruby31-base: Fix Darwin library naming. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2022/11/26 13:02:49 taca Exp $ a3 1 * Adding Interix support. a64 11 @@@@ -13437,6 +13426,10 @@@@ esac ac_cv_func___builtin_setjmp=no ;; #( + interix*) : + LIBS="-lm $LIBS" + ac_cv_func_getpgrp_void=yes + ;; #( *) : ;; esac a75 9 @@@@ -30542,6 +30537,8 @@@@ fi interix*) : : ${LDSHARED='$(CC) -shared'} XLDFLAGS="$XLDFLAGS -Wl,-E" + DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))' + RPATHFLAG=' -Wl,-R%1$-s' rb_cv_dlopen=yes ;; #( freebsd*|dragonfly*) : a109 14 @@@@ -31872,7 +31872,12 @@@@ fi ;; #( interix*) : - LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)' + SOLIBS='$(LIBS)' + LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)' + # link explicitly to 0x48000000 + LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552' + LIBRUBYARG_SHARED='-Wl,-R -Wl,${PREFIX}/lib} -L${libdir} -L. -l$(RUBY_SO_NAME)' + LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so' ;; #( cygwin*|msys*|mingw*|mswin*) : @ 1.3 log @lang/ruby31-base: update to 3.1.3 Ruby 3.1.3 Released (2022-11-24) Ruby 3.1.3 has been released. This release includes a security fix. Please check the topics below for details. * CVE-2021-33621: HTTP response splitting in CGI This release also includes a fix for build failure with Xcode 14 and macOS 13 (Ventura). See the related ticket for more details. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2022/05/04 15:49:51 jperkin Exp $ d118 14 a131 1 @@@@ -31872,7 +31871,12 @@@@ fi d145 1 a145 1 @@@@ -32065,7 +32069,7 @@@@ then : d154 1 a154 1 @@@@ -33706,7 +33710,7 @@@@ guard=INCLUDE_RUBY_CONFIG_H d163 1 a163 1 @@@@ -34930,21 +34934,7 @@@@ which seems to be undefined. Please mak @ 1.2 log @ruby31-base: Retain _XOPEN_SOURCE on SunOS. Fixes build of eventmachine (which assumes the XPG4.2 "void *" type for iov_base), and mirrors settings of ruby 2.x. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2022/01/16 13:57:10 taca Exp $ d12 1 a12 1 --- configure.orig 2022-04-12 11:11:17.000000000 +0000 d14 1 a14 1 @@@@ -3316,12 +3316,12 @@@@ case "$target_cpu-$target_os" in #( d30 2 a31 2 @@@@ -8441,7 +8441,7 @@@@ else if test x"$target_alias" = x; then : d37 3 a39 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5 $as_echo_n "checking for real target cpu... " >&6; } @@@@ -10262,6 +10262,7 @@@@ fi d46 2 a47 2 if test -z "${stack_protector+set}"; then : @@@@ -11981,18 +11982,6 @@@@ fi d66 1 a66 1 @@@@ -12226,6 +12215,10 @@@@ esac d77 10 a86 2 @@@@ -24059,6 +24052,8 @@@@ else # ifdef _MSC_VER d88 1 a88 7 # define alloca _alloca +# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) +# include # else # ifdef HAVE_ALLOCA_H # include @@@@ -29499,7 +29494,9 @@@@ fi a92 1 LIBPATHFLAG=" -L%1\$-s" d97 10 a106 1 @@@@ -30700,7 +30697,7 @@@@ fi a109 9 - LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)' + LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)$(TEENY)' LIBRUBY_SONAME='$(LIBRUBY_SO)' if test "$rb_cv_binary_elf" != "yes" ; then : @@@@ -30795,9 +30792,10 @@@@ esac ;; #( darwin*) : d111 1 a111 1 LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT)' a112 1 - LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).$(SOEXT)' d115 2 a116 1 if test "$load_relative" = yes; then : d118 1 a118 2 libprefix="@@executable_path/../${libdir_basename}" @@@@ -30818,7 +30816,12 @@@@ fi d132 1 a132 1 @@@@ -31000,7 +31003,7 @@@@ if test "$enable_rpath" = yes; then : d141 5 a145 5 @@@@ -32550,7 +32553,7 @@@@ guard=INCLUDE_RUBY_CONFIG_H if test "x$CONFIGURE_TTY" = xyes; then : color=--color else - color= d147 2 d150 1 a150 3 exec ${SHELL} ${tooldir}/ifchange $color "${config_h}" - ) >&6 || as_fn_error $? "failed to create ${config_h}" "$LINENO" 5 @@@@ -33773,19 +33776,7 @@@@ which seems to be undefined. Please mak d154 2 a155 1 - if test ${VCS+set}; then : d159 2 a160 1 -elif git_dir=`$GIT --work-tree="$srcdir" --git-dir="$srcdir/.git" rev-parse --git-dir 2>/dev/null`; then : d164 1 a164 1 -else @ 1.2.4.1 log @Pullup ticket #6706 - requested by taca lang/ruby31-base: security fix Revisions pulled up: - lang/ruby/rubyversion.mk 1.256 - lang/ruby31-base/Makefile 1.7 - lang/ruby31-base/PLIST 1.3 - lang/ruby31-base/distinfo 1.8 - lang/ruby31-base/patches/patch-configure 1.3 - lang/ruby31-base/patches/patch-lib_rubygems.rb 1.2 - lang/ruby31-base/patches/patch-lib_rubygems_commands_setup__command.rb 1.2 - lang/ruby31-base/patches/patch-lib_rubygems_install__update__options.rb 1.2 - lang/ruby31-base/patches/patch-lib_rubygems_installer.rb 1.2 - lang/ruby31-base/patches/patch-lib_rubygems_platform.rb 1.3 - lang/ruby31-base/patches/patch-test_rubygems_test__gem.rb 1.2 --- Module Name: pkgsrc Committed By: taca Date: Sat Nov 26 13:02:49 UTC 2022 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby31-base: Makefile PLIST distinfo pkgsrc/lang/ruby31-base/patches: patch-configure patch-lib_rubygems.rb patch-lib_rubygems_commands_setup__command.rb patch-lib_rubygems_install__update__options.rb patch-lib_rubygems_installer.rb patch-lib_rubygems_platform.rb patch-test_rubygems_test__gem.rb Log Message: lang/ruby31-base: update to 3.1.3 Ruby 3.1.3 Released (2022-11-24) Ruby 3.1.3 has been released. This release includes a security fix. Please check the topics below for details. * CVE-2021-33621: HTTP response splitting in CGI This release also includes a fix for build failure with Xcode 14 and macOS 13 (Ventura). See the related ticket for more details. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2022/05/04 15:49:51 jperkin Exp $ d12 1 a12 1 --- configure.orig 2022-11-24 10:20:33.000000000 +0000 d14 1 a14 1 @@@@ -3942,12 +3942,12 @@@@ case "$target_cpu-$target_os" in #( d30 2 a31 2 @@@@ -9361,7 +9361,7 @@@@ else $as_nop then : d37 3 a39 3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5 printf %s "checking for real target cpu... " >&6; } @@@@ -11355,6 +11355,7 @@@@ fi d46 2 a47 2 if test -z "${stack_protector+set}" @@@@ -13198,18 +13199,6 @@@@ then : d66 1 a66 1 @@@@ -13437,6 +13426,10 @@@@ esac d77 5 a81 6 @@@@ -25518,7 +25511,9 @@@@ else #include #include #ifndef alloca -# ifdef __GNUC__ +# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) d83 4 a86 5 +# elif defined __GNUC__ # define alloca __builtin_alloca # elif defined _MSC_VER # include @@@@ -30542,6 +30537,8 @@@@ fi d91 1 d96 8 a103 8 @@@@ -30713,7 +30710,7 @@@@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $flag is accepted for bundle" >&5 printf %s "checking whether $flag is accepted for bundle... " >&6; } : > conftest.c - if ${LDSHARED/'$(CC)'/$CC} -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && + if $(echo ${LDSHARED} | sed -e "s/'$(CC)'/$CC/g") -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && test ! -s conftest.err then : d105 1 a105 1 @@@@ -31748,8 +31745,10 @@@@ fi d107 1 a107 1 freebsd*|dragonfly*) : d110 1 a110 1 LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)' d112 1 d115 1 a115 2 if test "$rb_cv_binary_elf" != "yes" then : d117 2 a118 1 @@@@ -31872,7 +31871,12 @@@@ fi d132 1 a132 1 @@@@ -32065,7 +32069,7 @@@@ then : d141 5 a145 5 @@@@ -33706,7 +33710,7 @@@@ guard=INCLUDE_RUBY_CONFIG_H ( if test "x$CONFIGURE_TTY" = xyes then : - color=--color a146 2 else $as_nop color= d148 3 a150 1 @@@@ -34930,21 +34934,7 @@@@ which seems to be undefined. Please mak d154 1 a154 2 - if test ${VCS+set} -then : d158 1 a158 2 -elif git_dir=`$GIT --work-tree="$srcdir" --git-dir="$srcdir/.git" rev-parse --git-dir 2>/dev/null` -then : d162 1 a162 1 -else $as_nop @ 1.1 log @lang/ruby31-base: add package version 3.1.0 Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Features of Ruby are shown below. + Simple Syntax + *Normal* Object-Oriented features (ex. class, method calls) + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method) + Operator Overloading + Exception Handling + Iterators and Closures + Garbage Collection + Dynamic Loading of Object files (on some architecture) + Highly Portable (works on many UNIX machines, and on Windows, Mac, etc.) Ruby 3.1 introduces a number of new features and performance improvements, here are some of them: * Performance: YJIT: New experimental in-process JIT compiler * Development supports - debug gem: A new debugger - error_highlight: Fine-grained error location in backtrace - IRB Autocomplete and Document Display This package is Ruby 3.1 release minimum base package. @ text @d1 1 a1 1 $NetBSD$ d8 1 a8 1 * Put -std= in CFLAGS not CPPFLAGS. d12 1 a12 1 --- configure.orig 2021-12-25 12:23:16.000000000 +0000 d47 20 a66 1 @@@@ -12226,6 +12227,10 @@@@ esac d77 1 a77 1 @@@@ -24059,6 +24064,8 @@@@ else d86 1 a86 1 @@@@ -29499,7 +29506,9 @@@@ fi d96 1 a96 1 @@@@ -30700,7 +30709,7 @@@@ fi d105 1 a105 1 @@@@ -30795,9 +30804,10 @@@@ esac d118 1 a118 1 @@@@ -30818,7 +30828,12 @@@@ fi d132 1 a132 1 @@@@ -31000,7 +31015,7 @@@@ if test "$enable_rpath" = yes; then : d141 1 a141 1 @@@@ -32550,7 +32565,7 @@@@ guard=INCLUDE_RUBY_CONFIG_H d150 1 a150 1 @@@@ -33773,19 +33788,7 @@@@ which seems to be undefined. Please mak @ 1.1.2.1 log @Pullup tickets #6626 and #6627 - requested by taca ruby30-base: build fix ruby31-base: build fix Revisions pulled up: - lang/ruby/platform.mk 1.10-1.12 - lang/ruby/rubyversion.mk 1.251 - lang/ruby30-base/Makefile 1.7 - lang/ruby30-base/distinfo 1.9-1.10 - lang/ruby30-base/patches/patch-configure 1.2 - lang/ruby30-base/patches/patch-include_ruby_internal_static__assert.h 1.1 - lang/ruby31-base/Makefile 1.4-1.5 - lang/ruby31-base/distinfo 1.4-1.7 - lang/ruby31-base/patches/patch-configure 1.2 - lang/ruby31-base/patches/patch-include_ruby_internal_static__assert.h 1.1 - lang/ruby31-base/patches/patch-template_Makefile.in 1.1 - lang/ruby31-base/patches/patch-tool_runruby.rb 1.1 --- Module Name: pkgsrc Committed By: jperkin Date: Wed May 4 15:49:51 UTC 2022 Modified Files: pkgsrc/lang/ruby31-base: Makefile distinfo pkgsrc/lang/ruby31-base/patches: patch-configure Log Message: ruby31-base: Retain _XOPEN_SOURCE on SunOS. Fixes build of eventmachine (which assumes the XPG4.2 "void *" type for iov_base), and mirrors settings of ruby 2.x. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Wed May 4 16:16:49 UTC 2022 Modified Files: pkgsrc/lang/ruby: platform.mk Log Message: lang/ruby: fix build problem of Ruby 3.1 on NetBSD 8 Fix build problem of Ruby 3.1 on NetBSD 8 by disabling dtrace. Ruby 3.1 dtrace(1) to modify compiled object files during build process. But something wrong on NetBSD 8, includeing 8.2_STABLE. For example, vm.o contains these symbols on NetBSD 9: 0000000000000000 A __dtrace_ruby___array__create 0000000000000000 A __dtrace_ruby___cmethod__entry 0000000000000000 A __dtrace_ruby___cmethod__return 0000000000000000 A __dtrace_ruby___hash__create 0000000000000000 A __dtrace_ruby___method__entry 0000000000000000 A __dtrace_ruby___method__return 0000000000000000 A __dtraceenabled_ruby___array__create 0000000000000000 A __dtraceenabled_ruby___cmethod__entry 0000000000000000 A __dtraceenabled_ruby___cmethod__return 0000000000000000 A __dtraceenabled_ruby___hash__create 0000000000000000 A __dtraceenabled_ruby___method__entry 0000000000000000 A __dtraceenabled_ruby___method__return But on NetBSD 8: 0000000000000000 A __dtrace_ruby___array-create 0000000000000000 A __dtrace_ruby___cmethod-entry 0000000000000000 A __dtrace_ruby___cmethod-return 0000000000000000 A __dtrace_ruby___hash-create 0000000000000000 A __dtrace_ruby___method-entry 0000000000000000 A __dtrace_ruby___method-return 0000000000000000 A __dtraceenabled_ruby___array-create 0000000000000000 A __dtraceenabled_ruby___cmethod-entry 0000000000000000 A __dtraceenabled_ruby___cmethod-return 0000000000000000 A __dtraceenabled_ruby___hash-create 0000000000000000 A __dtraceenabled_ruby___method-entry 0000000000000000 A __dtraceenabled_ruby___method-return --- Module Name: pkgsrc Committed By: jperkin Date: Wed May 4 15:49:16 UTC 2022 Modified Files: pkgsrc/lang/ruby30-base: Makefile distinfo pkgsrc/lang/ruby30-base/patches: patch-configure Log Message: ruby30-base: Retain _XOPEN_SOURCE on SunOS. Fixes build of eventmachine (which assumes the XPG4.2 "void *" type for iov_base), and mirrors settings of ruby 2.x. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Wed May 4 16:44:53 UTC 2022 Modified Files: pkgsrc/lang/ruby: platform.mk pkgsrc/lang/ruby30-base: distinfo pkgsrc/lang/ruby31-base: distinfo Added Files: pkgsrc/lang/ruby30-base/patches: patch-include_ruby_internal_static__assert.h pkgsrc/lang/ruby31-base/patches: patch-include_ruby_internal_static__assert.h Log Message: lang/ruby: fix Ruby 3.0 build problem on NetBSD 8.0 Something wrong with expantion of static_assert macro in on NetBSD 8.0. So, avoid use of static_assert on NetBSD 8.0. NetBSD 8.1 and later dose not have this problem. --- Module Name: pkgsrc Committed By: jperkin Date: Thu May 5 10:15:17 UTC 2022 Modified Files: pkgsrc/lang/ruby: rubyversion.mk Log Message: ruby: Handle ruby31 changing the config triple for arm64 macOS. --- Module Name: pkgsrc Committed By: jperkin Date: Thu May 5 10:25:06 UTC 2022 Modified Files: pkgsrc/lang/ruby31-base: distinfo Added Files: pkgsrc/lang/ruby31-base/patches: patch-tool_runruby.rb Log Message: ruby31-base: Fix install on macOS arm64. --- Module Name: pkgsrc Committed By: taca Date: Sat May 7 09:36:16 UTC 2022 Modified Files: pkgsrc/lang/ruby: platform.mk pkgsrc/lang/ruby31-base: Makefile distinfo Added Files: pkgsrc/lang/ruby31-base/patches: patch-template_Makefile.in Log Message: lang/ruby31-base: better fix than privious one Instead of disabling DTrace, process object file yjit.o with "dtrace -G". Bump PKGREVISION. @ text @d8 1 a8 1 * Retain _XOPEN_SOURCE, fixes eventmachine. d12 1 a12 1 --- configure.orig 2022-04-12 11:11:17.000000000 +0000 d47 1 a47 20 @@@@ -11981,18 +11982,6 @@@@ fi CPPFLAGS="$CPPFLAGS ${rb_opt}" ;; esac done - # _XOPEN_SOURCE should not be defined for C++ on Solaris. - # RUBY_APPEND_OPTIONS(CXXFLAGS) - for rb_opt in -U_XOPEN_SOURCE; do - case " ${CXXFLAGS-} " in #( - *" ${rb_opt} "*) : - ;; #( - ' ') : - CXXFLAGS="${rb_opt}" ;; #( - *) : - CXXFLAGS="$CXXFLAGS ${rb_opt}" ;; -esac - done fi @@@@ -12226,6 +12215,10 @@@@ esac d58 1 a58 1 @@@@ -24059,6 +24052,8 @@@@ else d67 1 a67 1 @@@@ -29499,7 +29494,9 @@@@ fi d77 1 a77 1 @@@@ -30700,7 +30697,7 @@@@ fi d86 1 a86 1 @@@@ -30795,9 +30792,10 @@@@ esac d99 1 a99 1 @@@@ -30818,7 +30816,12 @@@@ fi d113 1 a113 1 @@@@ -31000,7 +31003,7 @@@@ if test "$enable_rpath" = yes; then : d122 1 a122 1 @@@@ -32550,7 +32553,7 @@@@ guard=INCLUDE_RUBY_CONFIG_H d131 1 a131 1 @@@@ -33773,19 +33776,7 @@@@ which seems to be undefined. Please mak @