Browse Source

Fix size information for 128x128 ico files. Closes: #1098991

Christoph Biedl 3 weeks ago
parent
commit
05b35fbdb0

+ 19 - 0
debian/patches/1741021322.FILE5_46-55-gff9ba253.use-unsigned-byte-christoph-biedl.patch

@@ -0,0 +1,19 @@
+Subject: Use unsigned byte (Christoph Biedl)
+Origin: upstream, commit FILE5_46-55-gff9ba253 <https://github.com/file/file/commit/FILE5_46-55-gff9ba253>
+Author: Christos Zoulas <christos@zoulas.com>
+Date: Mon Mar 3 17:02:02 2025 +0000
+
+--- a/magic/Magdir/msdos
++++ b/magic/Magdir/msdos
+@@ -2108,9 +2108,9 @@
+ #	display shared information of cursor or icon entry
+ 0		name		cur-ico-entry
+ >0		byte		=0		\b, 256x
+->0		byte		!0		\b, %dx
++>0		ubyte		!0		\b, %dx
+ >1		byte        	=0		\b256
+->1		byte        	!0		\b%d
++>1		ubyte        	!0		\b%d
+ # number of colors in palette
+ >2		ubyte		!0		\b, %d colors
+ # reserved 0 FFh

+ 1 - 0
debian/patches/series

@@ -1,6 +1,7 @@
 # reverted upstream commits
 # reverted upstream commits
 
 
 # cherry-picked commits. Keep in upstream's chronological order
 # cherry-picked commits. Keep in upstream's chronological order
+1741021322.FILE5_46-55-gff9ba253.use-unsigned-byte-christoph-biedl.patch
 
 
 # patches that should go upstream
 # patches that should go upstream
 upstream.disable.att3b.patch
 upstream.disable.att3b.patch