mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/sigar: properly fix glibc compatibility
Pointed out by Rueben Martin. Bug: https://bugs.gentoo.org/639470 Bug: https://bugs.gentoo.org/581138 Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST sigar-0.7.3.gem 205312 SHA256 250a3bd8170f51bf377aa666d44ae08a321c655a2c63c14dffa41fe478308d88 SHA512 cdab3ec8b9662bfa3a432f0206c34c99c6e6e0ac5c85a93cb472367a9f325a27d5232bf2166f5c2955817e3ab8bd1035db06aad709ce20cc261f1b15d89dea2a WHIRLPOOL a1100575ebb4a3af65cea6949223e589f2c6279758dcf888578fc4d92b02267ed349fd564f0563982084e66a150d759e0ef7c848fad7b6b1dfe3889d1cbe97f2
|
||||
DIST sigar-0.7.3.gem 205312 BLAKE2B 1a1d526e2f60a4a91ef405bbb7bf6aede2d4707631108f2779dfd1533d345b9e2c1fb586aa748d13ff1f7cb0b228e34618a0e8d549a3b4b4dc44a37684f2e970 SHA512 cdab3ec8b9662bfa3a432f0206c34c99c6e6e0ac5c85a93cb472367a9f325a27d5232bf2166f5c2955817e3ab8bd1035db06aad709ce20cc261f1b15d89dea2a
|
||||
|
||||
@@ -23,7 +23,7 @@ all_ruby_prepare() {
|
||||
|
||||
# Fix compatibility with glibc 2.25
|
||||
sed -i -e '26i#include <sys/sysmacros.h>' \
|
||||
-e '27i#include <ctype.h>' bindings/ruby/rbsigar.c || die
|
||||
-e '27i#include <ctype.h>' bindings/ruby/rbsigar.c src/os/linux/linux_sigar.c || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
|
||||
Reference in New Issue
Block a user