aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-02-18 06:19:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-02-18 06:19:28 +0000
commitd01be481302c48a32ab267c20dedebd865c9eab9 (patch)
tree21957de8c65574f6a1d2f8c16ea3a06c74e86fcd /converters
parentb912c9f0343b365bce3d99f39a90a126a0ec8810 (diff)
downloadports-d01be481302c48a32ab267c20dedebd865c9eab9.tar.gz
ports-d01be481302c48a32ab267c20dedebd865c9eab9.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/mpack/Makefile2
-rw-r--r--converters/mpack/files/patch-magic.c12
2 files changed, 11 insertions, 3 deletions
diff --git a/converters/mpack/Makefile b/converters/mpack/Makefile
index 22832e2b4e47..871ec7d5720b 100644
--- a/converters/mpack/Makefile
+++ b/converters/mpack/Makefile
@@ -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/
diff --git a/converters/mpack/files/patch-magic.c b/converters/mpack/files/patch-magic.c
index 6bb79021511c..aa4fbac346ef 100644
--- a/converters/mpack/files/patch-magic.c
+++ b/converters/mpack/files/patch-magic.c
@@ -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 },
+ };