summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorThomas Watson <twatson52@icloud.com>2024-05-23 23:11:50 -0500
committerThomas Watson <twatson52@icloud.com>2024-05-24 16:53:14 -0500
commit4d6d293fad1a84b953e6decb32959425fb9d2043 (patch)
tree3386feec6bca4809f2e615f97f01038bed033851 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent3254cacae49864ee588fa9d8e9401b9fb77e5c04 (diff)
setup-hooks/strip: uniqify files by inode number before stripping
https://github.com/NixOS/nixpkgs/pull/246164 but for hardlinks. Mesa, among other packages, has binaries that are linked together and can end up corrupted when the same binary is stripped through two different names. To resolve this, print out the device and inode number before each file name, sort/uniq based on that, then cut it back out before stripping. The symlink resolution logic is removed as the same file accessed through two different links in `$paths` will necessarily have the same numbers. File/directory within the paths listed in `$paths` are correctly not (and were never) processed due to the `-type f` predicate and (implied) `-P` option to `find`.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions