# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/converters/mpack/files/patch-magic.c # echo x - /usr/ports/converters/mpack/files/patch-magic.c sed 's/^X//' >/usr/ports/converters/mpack/files/patch-magic.c << 'b642b52f37529b7136783f89b1ecc98f' X--- magic.c.orig 2003-07-21 16:35:31.000000000 -0400 X+++ magic.c 2011-02-17 15:17:14.374973627 -0500 X@@ -23,6 +23,7 @@ X * SOFTWARE. X */ X #include X+#include X X /* Description of the various file formats and their magic numbers */ X struct magic { X@@ -35,6 +36,7 @@ X static struct magic magic[] = { X { "image/gif", "GIF", 0 }, X { "image/jpeg", "\377\330\377", 0 }, X+ { "image/png", "\211PNG", 0 }, X { "video/mpeg", "\0\0\001\263", 4 }, X { "application/postscript", "%!", 0 }, X }; b642b52f37529b7136783f89b1ecc98f exit