diff options
Diffstat (limited to 'libre/pacman/pacman-5.2.1-reproducible-libprovides.patch')
-rw-r--r-- | libre/pacman/pacman-5.2.1-reproducible-libprovides.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/pacman/pacman-5.2.1-reproducible-libprovides.patch b/libre/pacman/pacman-5.2.1-reproducible-libprovides.patch new file mode 100644 index 000000000..fea695882 --- /dev/null +++ b/libre/pacman/pacman-5.2.1-reproducible-libprovides.patch @@ -0,0 +1,13 @@ +diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in +index d1416d15..b95a03af 100644 +--- a/scripts/makepkg.sh.in ++++ b/scripts/makepkg.sh.in +@@ -521,7 +521,7 @@ find_libprovides() { + missing=0 + case "$p" in + *.so) +- mapfile -t filename < <(find "$pkgdir" -type f -name $p\*) ++ mapfile -t filename < <(find "$pkgdir" -type f -name $p\* | LC_ALL=C sort) + if [[ $filename ]]; then + # packages may provide multiple versions of the same library + for fn in "${filename[@]}"; do |