wok-6.x rev 24005

cdrkit: force catalog sort weight
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 19 09:09:36 2021 +0000 (2021-01-19)
parents 670e65815150
children 059bb2e67481
files cdrkit/receipt cdrkit/stuff/cdrkit-1.1.9-sort-catalog.patch
line diff
     1.1 --- a/cdrkit/receipt	Sun Jan 17 17:23:12 2021 +0000
     1.2 +++ b/cdrkit/receipt	Tue Jan 19 09:09:36 2021 +0000
     1.3 @@ -22,6 +22,7 @@
     1.4  	[ -s $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch ] ||
     1.5  		wget -P $SOURCES_REPOSITORY https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch
     1.6  	patch -p1 < $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch
     1.7 +	patch -p1 < $stuff/cdrkit-1.1.9-sort-catalog.patch
     1.8  	make PREFIX=/usr && make install PREFIX=/usr
     1.9  }
    1.10  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cdrkit/stuff/cdrkit-1.1.9-sort-catalog.patch	Tue Jan 19 09:09:36 2021 +0000
     2.3 @@ -0,0 +1,13 @@
     2.4 +--- cdrkit-1.1.11/genisoimage/eltorito.c
     2.5 ++++ cdrkit-1.1.11/genisoimage/eltorito.c
     2.6 +@@ -204,9 +204,7 @@
     2.7 + 	this_dir->contents = s_entry;
     2.8 + 
     2.9 + #ifdef SORTING
    2.10 +-	/* inherit any sort weight from parent directory */
    2.11 +-	s_entry->sort = this_dir->sort;
    2.12 +-	s_entry->sort += 2;
    2.13 ++	s_entry->sort = 100;
    2.14 + 
    2.15 + 	/* see if this entry should have a new weighting */
    2.16 + 	if (do_sort) {