Skip to content

Commit 7af75f6

Browse files
authored
Merge pull request #26 from ntkme/autoconf
Use autoconf 2.72 for ruby 3.4 and head (gcc 15)
2 parents 32c1fdb + d52ad3b commit 7af75f6

File tree

4 files changed

+56
-1
lines changed

4 files changed

+56
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From e184853a701a08e4dc91636b4f63a5109715550e Mon Sep 17 00:00:00 2001
2+
From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= <i@ntk.me>
3+
Date: Fri, 16 May 2025 16:08:07 -0700
4+
Subject: [PATCH] Use autoconf 2.72
5+
6+
---
7+
configure | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/configure b/configure
11+
index ac0d25e..c66b979 100755
12+
--- a/configure
13+
+++ b/configure
14+
@@ -1,6 +1,6 @@
15+
#! /bin/sh
16+
# Guess values for system-dependent variables and create Makefiles.
17+
-# Generated by GNU Autoconf 2.71.
18+
+# Generated by GNU Autoconf 2.72.
19+
#
20+
#
21+
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
22+
--
23+
2.39.5
24+

mingw-w64-ruby-head/PKGBUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2424
options=('staticlibs' 'strip')
2525
source=("https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.tar.xz"
2626
0001-Add-C-ext-win32-dll_directory-as-an-alternative-to-f.patch
27+
0002-Use-autoconf-2.72.patch
2728
ruby.ico
2829
rubyw.ico
2930
placeholder.manifest.xml)
@@ -34,6 +35,7 @@ noextract=("snapshot-master.tar.xz")
3435

3536
sha256sums=('SKIP'
3637
'a50c81ab8c178689485257f8eaa70bd8184b878a798780084668f838912e2832'
38+
'f26122cca5e289801c0dde1f54643a960246a69691c6c8b9bccb27e536344f69'
3739
'6c80ba2ca49840e387a08b7fedc6e7acd298ac2ec853155209efb2af20397b22'
3840
'c30fb04ac0e88ba634daaa811a81ea5a75027646617b895acd14df9518a4a55a'
3941
'c7a555d4826453efe7e33a2ebf78462b1fa665dffd7e4972143b48b1c9c71375')
@@ -43,6 +45,7 @@ prepare() {
4345
cd ${srcdir}/snapshot-master
4446
rm -rf ext/win32/dll_directory
4547
patch -p1 -i ${srcdir}/0001-Add-C-ext-win32-dll_directory-as-an-alternative-to-f.patch
48+
patch -p1 -i ${srcdir}/0002-Use-autoconf-2.72.patch
4649
autoreconf -fi
4750
}
4851

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From e184853a701a08e4dc91636b4f63a5109715550e Mon Sep 17 00:00:00 2001
2+
From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= <i@ntk.me>
3+
Date: Fri, 16 May 2025 16:08:07 -0700
4+
Subject: [PATCH] Use autoconf 2.72
5+
6+
---
7+
configure | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/configure b/configure
11+
index ac0d25e..c66b979 100755
12+
--- a/configure
13+
+++ b/configure
14+
@@ -1,6 +1,6 @@
15+
#! /bin/sh
16+
# Guess values for system-dependent variables and create Makefiles.
17+
-# Generated by GNU Autoconf 2.71.
18+
+# Generated by GNU Autoconf 2.72.
19+
#
20+
#
21+
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
22+
--
23+
2.39.5
24+

mingw-w64-ruby34/PKGBUILD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pkgname="${MINGW_PACKAGE_PREFIX}-ruby34"
55
pkgver2=3.4.4
66
# version used by pacman
77
pkgver="${pkgver2/-/.}"
8-
pkgrel=1
8+
pkgrel=2
99
pkgdesc="An object-oriented language for quick and easy programming (mingw-w64)"
1010
arch=('any')
1111
mingw_arch=('mingw32' 'ucrt64' 'clangarm64')
@@ -24,6 +24,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2424
options=('staticlibs' 'strip')
2525
source=("https://cache.ruby-lang.org/pub/ruby/${pkgver2%.*}/${_realname}-${pkgver2}.tar.xz"
2626
0001-Add-C-ext-win32-dll_directory-as-an-alternative-to-f.patch
27+
0002-Use-autoconf-2.72.patch
2728
ruby.ico
2829
rubyw.ico
2930
placeholder.manifest.xml)
@@ -32,6 +33,7 @@ source=("https://cache.ruby-lang.org/pub/ruby/${pkgver2%.*}/${_realname}-${pkgve
3233

3334
sha256sums=('f76d63efe9499dedd8526b74365c0c811af00dc9feb0bed7f5356488476e28f4'
3435
'a50c81ab8c178689485257f8eaa70bd8184b878a798780084668f838912e2832'
36+
'f26122cca5e289801c0dde1f54643a960246a69691c6c8b9bccb27e536344f69'
3537
'6c80ba2ca49840e387a08b7fedc6e7acd298ac2ec853155209efb2af20397b22'
3638
'c30fb04ac0e88ba634daaa811a81ea5a75027646617b895acd14df9518a4a55a'
3739
'c7a555d4826453efe7e33a2ebf78462b1fa665dffd7e4972143b48b1c9c71375')
@@ -40,6 +42,8 @@ prepare() {
4042
cd ${srcdir}/${_realname}-${pkgver2}
4143
rm -rf ext/win32/dll_directory
4244
patch -p1 -i ${srcdir}/0001-Add-C-ext-win32-dll_directory-as-an-alternative-to-f.patch
45+
patch -p1 -i ${srcdir}/0002-Use-autoconf-2.72.patch
46+
autoreconf -fi
4347
}
4448

4549
build() {

0 commit comments

Comments
 (0)