Files
macports-ports/lang/ruby40/files/patch-generated.diff
T
Fred Wright 2ac7acfb54 ruby40: update to 4.0.5 (security)
See:
https://www.ruby-lang.org/en/news/2026/05/20/ruby-4-0-5-released/

As noted, this is a focused update to fix CVE-2026-46727.

TESTED:
Built successfully on OSX 10.4-10.6 i386, 10.5-12.x x86_64, and
11.x-26.x arm64.  Included all variants compatible with available
dependencies on the respective platforms.
2026-05-23 16:37:00 -04:00

33 lines
705 B
Diff

--- configure.orig 2026-05-19 16:22:56.000000000 -0700
+++ configure 2026-05-21 17:41:22.000000000 -0700
@@ -8524,7 +8524,8 @@ printf %s "checking for $CC linker warni
>/dev/null
then :
- suppress_ld_waring=yes
+ CC_WRAPPER=`cd -P "${tooldir}" && pwd`/darwin-cc
+ CC="$CC_WRAPPER $CC"
fi
rm -fr conftest*
@@ -34984,19 +34985,6 @@ fi
-if test "x$load_relative:$DESTDIR" = xyes:
-then :
-
- if test "x$prefix" = xNONE
-then :
- DESTDIR="$ac_default_prefix"
-else $as_nop
- DESTDIR="$prefix"
-fi
- prefix=/.
-
-fi
-
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure