Quellcode durchsuchen

Stricter PostScript magic. Closes: #988451

Christoph Biedl vor 3 Wochen
Ursprung
Commit
736745bf6b
2 geänderte Dateien mit 18 neuen und 0 gelöschten Zeilen
  1. 1 0
      debian/patches/series
  2. 17 0
      debian/patches/upstream.stricter-postscript-magic.patch

+ 1 - 0
debian/patches/series

@@ -5,6 +5,7 @@
 
 # patches that should go upstream
 upstream.disable.att3b.patch
+upstream.stricter-postscript-magic.patch
 
 # local modifications
 local.support-local-definitions-in-etc-magic.patch

+ 17 - 0
debian/patches/upstream.stricter-postscript-magic.patch

@@ -0,0 +1,17 @@
+Description: Stricter PostScript magic
+Author: Vincent Lefevre <vincent@vinc17.net>
+Bug: https://bugs.astron.com/view.php?id=618
+Bug-Debian: https://bugs.debian.org/988451
+Last-Update: 2025-01-28
+
+--- a/magic/Magdir/printer
++++ b/magic/Magdir/printer
+@@ -5,7 +5,7 @@
+ #
+ 
+ # PostScript, updated by Daniel Quinlan (quinlan@yggdrasil.com)
+-0	string		%!		PostScript document text
++0	string		%!PS		PostScript document text
+ !:mime	application/postscript
+ !:apple	ASPSTEXT
+ >2	string		PS-Adobe-	conforming