--- ./configure.orig	2024-09-11 11:27:55.553627964 -0500
+++ ./configure	2024-09-11 11:32:02.140206050 -0500
@@ -29033,72 +29033,72 @@
 
 # [ruby-dev:40910] overflow of time on FreeBSD
 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145341
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for localtime(3) overflow correctly" >&5
-printf %s "checking for localtime(3) overflow correctly... " >&6; }
-if test ${rb_cv_localtime_overflow+y}
-then :
-  printf %s "(cached) " >&6
-else $as_nop
-  if test "$cross_compiling" = yes
-then :
-  rb_cv_localtime_overflow=no
-else $as_nop
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#include <stdlib.h>
-#include <time.h>
-
-void
-check(time_t t1)
-{
-    struct tm *tm;
-    time_t t2;
-    tm = localtime(&t1);
-    if (!tm)
-	return; /* overflow detected.  ok. */
-    t2 = mktime(tm);
-    if (t1 == t2)
-        return; /* round-trip.  ok. */
-    exit(1);
-}
-
-int
-main()
-{
-    time_t t;
-    if (~(time_t)0 <= 0) {
-        t = (((time_t)1) << (sizeof(time_t) * 8 - 2));
-        t |= t - 1;
-    }
-    else {
-        t = ~(time_t)0;
-    }
-    check(t);
-    return 0;
-}
-
-_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
-  rb_cv_localtime_overflow=yes
-else $as_nop
-  rb_cv_localtime_overflow=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rb_cv_localtime_overflow" >&5
-    colorize_result "$rb_cv_localtime_overflow" ; }
-if test "$rb_cv_localtime_overflow" = no
-then :
-
-  printf "%s\n" "#define LOCALTIME_OVERFLOW_PROBLEM 1" >>confdefs.h
-
-
-fi
+#{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for localtime(3) overflow correctly" >&5
+#printf %s "checking for localtime(3) overflow correctly... " >&6; }
+#if test ${rb_cv_localtime_overflow+y}
+#then :
+#  printf %s "(cached) " >&6
+#else $as_nop
+#  if test "$cross_compiling" = yes
+#then :
+#  rb_cv_localtime_overflow=no
+#else $as_nop
+#  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#
+# #include <stdlib.h>
+# #include <time.h>
+#
+#void
+#check(time_t t1)
+#{
+#    struct tm *tm;
+#    time_t t2;
+#    tm = localtime(&t1);
+#    if (!tm)
+#	return; /* overflow detected.  ok. */
+#    t2 = mktime(tm);
+#    if (t1 == t2)
+#        return; /* round-trip.  ok. */
+#    exit(1);
+#}
+#
+#int
+#main()
+#{
+#    time_t t;
+#    if (~(time_t)0 <= 0) {
+#        t = (((time_t)1) << (sizeof(time_t) * 8 - 2));
+#        t |= t - 1;
+#    }
+#    else {
+#        t = ~(time_t)0;
+#    }
+#    check(t);
+#    return 0;
+#}
+#
+#_ACEOF
+#if ac_fn_c_try_run "$LINENO"
+#then :
+#  rb_cv_localtime_overflow=yes
+#else $as_nop
+#  rb_cv_localtime_overflow=no
+#fi
+#rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+#  conftest.$ac_objext conftest.beam conftest.$ac_ext
+#fi
+#
+#fi
+#{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rb_cv_localtime_overflow" >&5
+#    colorize_result "$rb_cv_localtime_overflow" ; }
+#if test "$rb_cv_localtime_overflow" = no
+#then :
+#
+#  printf "%s\n" "#define LOCALTIME_OVERFLOW_PROBLEM 1" >>confdefs.h
+#
+#
+#fi
 
 if test "$ac_cv_func_sigprocmask" = yes && test "$ac_cv_func_sigaction" = yes
 then :
