Skip to content

Commit b658bd9

Browse files
committed
Refresh patches
1 parent 2ef279d commit b658bd9

8 files changed

Lines changed: 8 additions & 20 deletions

debian/patches/0002-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
1515

1616
--- a/lib/mkmf.rb
1717
+++ b/lib/mkmf.rb
18-
@@ -2363,7 +2363,7 @@
18+
@@ -2368,7 +2368,7 @@
1919
LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
2020
ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
2121
SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}

debian/patches/0003-Mark-Gemspec-reproducible-change-fixing-784225-too.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Signed-off-by: Christian Hofstaedtler <zeha@debian.org>
1313

1414
--- a/lib/rubygems/specification.rb
1515
+++ b/lib/rubygems/specification.rb
16-
@@ -1768,7 +1768,9 @@
16+
@@ -1774,7 +1774,9 @@
1717
raise(Gem::InvalidSpecificationException,
1818
"invalid date format in specification: #{date.inspect}")
1919
end

debian/patches/0006-Fix-FTBS-on-hurd.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
1212

1313
--- a/io.c
1414
+++ b/io.c
15-
@@ -2213,7 +2213,11 @@
15+
@@ -2214,7 +2214,11 @@
1616

1717
for (i = 0; i < argc; i += cnt) {
1818
#ifdef HAVE_WRITEV

debian/patches/0007-Port-to-kfreebsd-amd64.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Signed-off-by: Svante Signell <svante.signell@gmail.com>
2525
defined(_WIN32) || \
2626
--- a/ext/socket/raddrinfo.c
2727
+++ b/ext/socket/raddrinfo.c
28-
@@ -1722,10 +1722,21 @@
28+
@@ -2138,10 +2138,21 @@
2929
INIT_SOCKADDR_UN(&uaddr, sizeof(struct sockaddr_un));
3030

3131
StringValue(v);
@@ -47,7 +47,7 @@ Signed-off-by: Svante Signell <svante.signell@gmail.com>
4747
memcpy(uaddr.sun_path, RSTRING_PTR(v), RSTRING_LEN(v));
4848
len = (socklen_t)sizeof(uaddr);
4949
memcpy(&ss, &uaddr, len);
50-
@@ -2369,10 +2380,21 @@
50+
@@ -2785,10 +2796,21 @@
5151
if (n < 0)
5252
rb_raise(rb_eSocket, "too short AF_UNIX address: %"PRIuSIZE" bytes given for minimum %"PRIuSIZE" bytes.",
5353
(size_t)rai->sockaddr_len, offsetof(struct sockaddr_un, sun_path));
@@ -90,7 +90,7 @@ Signed-off-by: Svante Signell <svante.signell@gmail.com>
9090
# https://github.com/ruby/fiddle/actions/runs/3202406059/jobs/5231356410
9191
--- a/test/socket/test_socket.rb
9292
+++ b/test/socket/test_socket.rb
93-
@@ -545,7 +545,7 @@
93+
@@ -549,7 +549,7 @@
9494
end
9595

9696
def test_bintime

debian/patches/0009-Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Updated by John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> on
1313

1414
--- a/configure.ac
1515
+++ b/configure.ac
16-
@@ -2616,6 +2616,9 @@
16+
@@ -2649,6 +2649,9 @@
1717
[powerpc64-darwin*|ppc64-darwin*], [
1818
coroutine_type=ppc64
1919
],

debian/patches/rbconfig-mkmf-call-foreign-pkg-config-when-cross-compilin.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Forwarded: https://github.com/ruby/ruby/pull/6355
2727

2828
--- a/lib/mkmf.rb
2929
+++ b/lib/mkmf.rb
30-
@@ -1866,7 +1866,7 @@
30+
@@ -1871,7 +1871,7 @@
3131
if pkgconfig = with_config("#{pkg}-config") and find_executable0(pkgconfig)
3232
# if and only if package specific config command is given
3333
elsif ($PKGCONFIG ||=

debian/patches/ruby_default_arch.m4-don-t-require-arhitectures-to-be-kno.patch

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,3 @@ Not sure yet if this should be forwarded upstream or not.
88
tool/m4/ruby_default_arch.m4 | 2 +-
99
1 file changed, 1 insertion(+), 1 deletion(-)
1010

11-
--- a/tool/m4/ruby_default_arch.m4
12-
+++ b/tool/m4/ruby_default_arch.m4
13-
@@ -6,7 +6,7 @@
14-
[*64], [ARCH_FLAG=-m64],
15-
[[i[3-6]86]], [ARCH_FLAG=-m32],
16-
[ppc], [ARCH_FLAG=-m32],
17-
- [AC_MSG_ERROR(unknown target architecture: $target_archs)]
18-
+ [*], []
19-
)
20-
AC_MSG_RESULT([$ARCH_FLAG])
21-
])dnl

debian/patches/series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
0007-Port-to-kfreebsd-amd64.patch
88
0009-Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch
99
0011-don-t-try-to-download-stuff-in-configure.patch
10-
ruby_default_arch.m4-don-t-require-arhitectures-to-be-kno.patch
1110
rbconfig-mkmf-call-foreign-pkg-config-when-cross-compilin.patch

0 commit comments

Comments
 (0)