SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
converters/mpack/patches/patch-magic_c
Normal file
18
converters/mpack/patches/patch-magic_c
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- magic.c.orig Mon Jul 21 21:35:31 2003
|
||||
+++ magic.c Tue Dec 11 10:10:23 2012
|
||||
@@ -23,6 +23,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
|
||||
/* Description of the various file formats and their magic numbers */
|
||||
struct magic {
|
||||
@@ -35,6 +36,7 @@ struct magic {
|
||||
static struct magic magic[] = {
|
||||
{ "image/gif", "GIF", 0 },
|
||||
{ "image/jpeg", "\377\330\377", 0 },
|
||||
+ { "image/png", "\211PNG", 0 },
|
||||
{ "video/mpeg", "\0\0\001\263", 4 },
|
||||
{ "application/postscript", "%!", 0 },
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue