Skip to content

Commit

Permalink
Downgrade patchelf to 0.16.1.
Browse files Browse the repository at this point in the history
0.18 has issues with some patched binaries segfaulting
NixOS/patchelf#446
  • Loading branch information
bartoldeman committed Mar 21, 2024
1 parent a3869b9 commit 8a56850
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev-util/patchelf/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST patchelf-0.15.0.tar.gz 125803 BLAKE2B 08fc2cffd7d9e835c01c828c16762fb0b3c3e422990f2d0028a65a3e0ec849d01bdef699b6f68afa6bf307e34f5e76121fc94460793c95c055552e1d8a68d772 SHA512 3b2d3d6458be5b2d43cd2878dfb1a185a95cc13cd4c94abd0ee79979afb36f46e347acc292b8d9c2954a342b7291774e6a1b63930e9f90a1cf4179ec075ab046
EBUILD patchelf-0.15.0.ebuild 565 BLAKE2B 170d8d53a44b103cfce2a485f6ab3bb60f6ec874bb1d43696311f5a41a98fc75c31c5de18f5b799d51bfe8717e848d20e8f1206d8c33cbf9574db64d8c0adb18 SHA512 e4cac0e23b43f4f53e7badb868e702fef1415e122a93d030115b1108488ecf0fd13207c95308b571ac9a347cf9209cca29a80ad308c3f4b24cd12a7826dbe327
DIST patchelf-0.16.1.tar.gz 132450 BLAKE2B 047fe9900eff3a4fef19550b49ea3c53dc8fc77c1d110888af39362dce745c3568e493f91d96cd35d73291da8e0cf4f10121162f4e8a32d43a3c014716477a4c SHA512 62475b942ff07c2eb225760d69eab99af4e9aa14ca51aeb3b7d53a6a1943b02acffc1b2059d985a921f5af7bbaf40a096b8cdf592979260e1e2602db02e7f247
23 changes: 23 additions & 0 deletions dev-util/patchelf/patchelf-0.16.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables"
HOMEPAGE="https://github.com/NixOS/patchelf"
SRC_URI="https://github.com/NixOS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~riscv-linux ~x86-linux"
LICENSE="GPL-3"

src_prepare() {
default

sed -i \
-e 's:-Werror::g' \
configure.ac || die

eautoreconf
}
2 changes: 2 additions & 0 deletions profiles/2023/package.mask
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
dev-lang/rust
# mask older spirv-tools with confusing version
=dev-util/spirv-tools-2019.10_pre20191027-r1
# mask buggy newer patchelf
=dev-util/patchelf-0.18.0

0 comments on commit 8a56850

Please sign in to comment.