mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
- tag PNG fils as image/png
PR: 154852 Submitted by: Kurt Lidl
This commit is contained in:
parent
b912c9f034
commit
d01be48130
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269308
2 changed files with 11 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= mpack
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= converters mail news
|
||||
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/mpack/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- magic.c
|
||||
+++ magic.c
|
||||
--- magic.c.orig 2003-07-21 16:35:31.000000000 -0400
|
||||
+++ magic.c 2011-02-17 15:17:14.374973627 -0500
|
||||
@@ -23,6 +23,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
@ -8,3 +8,11 @@
|
|||
|
||||
/* Description of the various file formats and their magic numbers */
|
||||
struct magic {
|
||||
@@ -35,6 +36,7 @@
|
||||
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
Reference in a new issue