Skip to content

Commit c4f733f

Browse files
glaubitzterceiro
authored andcommitted
Fix filenames for glibc SO files on alpha and ia64
Closes: #1007925 Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Antonio Terceiro <terceiro@debian.org>
1 parent 565d10c commit c4f733f

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2+
Date: Fri, 18 Mar 2022 16:36:16 +0100
3+
Subject: Fix filenames for glibc SO files on alpha and ia64
4+
5+
Fixes [Bug #18645]
6+
---
7+
test/fiddle/helper.rb | 10 ++++++++--
8+
1 file changed, 8 insertions(+), 2 deletions(-)
9+
10+
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
11+
index a6e2019..6b4a5aa 100644
12+
--- a/test/fiddle/helper.rb
13+
+++ b/test/fiddle/helper.rb
14+
@@ -47,8 +47,14 @@ when /linux/
15+
libm_so = libc_so
16+
else
17+
# glibc
18+
- libc_so = "libc.so.6"
19+
- libm_so = "libm.so.6"
20+
+ case RUBY_PLATFORM
21+
+ when /alpha-linux/, /ia64-linux/
22+
+ libc_so = "libc.so.6.1"
23+
+ libm_so = "libm.so.6.1"
24+
+ else
25+
+ libc_so = "libc.so.6"
26+
+ libm_so = "libm.so.6"
27+
+ end
28+
end
29+
when /mingw/, /mswin/
30+
require "rbconfig"

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
ruby_default_arch.m4-don-t-require-arhitectures-to-be-kno.patch
1212
Update-openssl-to-version-3.0.0.patch
1313
Update-rubygems-to-version-3.3.3.patch
14+
Fix-filenames-for-glibc-SO-files-on-alpha-and-ia64.patch

0 commit comments

Comments
 (0)