# HG changeset patch # User Pascal Bellard # Date 1611047376 0 # Node ID b553f83f6fb9bb27e115925205d309390bbc0619 # Parent 670e65815150f5bec045f7645f0caa4e77723626 cdrkit: force catalog sort weight diff -r 670e65815150 -r b553f83f6fb9 cdrkit/receipt --- a/cdrkit/receipt Sun Jan 17 17:23:12 2021 +0000 +++ b/cdrkit/receipt Tue Jan 19 09:09:36 2021 +0000 @@ -22,6 +22,7 @@ [ -s $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch ] || wget -P $SOURCES_REPOSITORY https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch patch -p1 < $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch + patch -p1 < $stuff/cdrkit-1.1.9-sort-catalog.patch make PREFIX=/usr && make install PREFIX=/usr } diff -r 670e65815150 -r b553f83f6fb9 cdrkit/stuff/cdrkit-1.1.9-sort-catalog.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cdrkit/stuff/cdrkit-1.1.9-sort-catalog.patch Tue Jan 19 09:09:36 2021 +0000 @@ -0,0 +1,13 @@ +--- cdrkit-1.1.11/genisoimage/eltorito.c ++++ cdrkit-1.1.11/genisoimage/eltorito.c +@@ -204,9 +204,7 @@ + this_dir->contents = s_entry; + + #ifdef SORTING +- /* inherit any sort weight from parent directory */ +- s_entry->sort = this_dir->sort; +- s_entry->sort += 2; ++ s_entry->sort = 100; + + /* see if this entry should have a new weighting */ + if (do_sort) {