Bug 154852 - converters/mpack does not recognize png files
Summary: converters/mpack does not recognize png files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 20:40 UTC by Kurt Lidl
Modified: 2011-02-18 06:21 UTC (History)
0 users

See Also:


Attachments
file.shar (1.02 KB, text/plain)
2011-02-17 20:40 UTC, Kurt Lidl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Lidl 2011-02-17 20:40:06 UTC
The encoded output from mpack on a PNG file will tag it as
application/octet-stream.  Ideally, it would be tagged as
image/png.

Fix: The attached shar file makes the patch-magic.c have the right
data to identify image/png files.


Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2011-02-17 20:40:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-02-18 06:19:33 UTC
dinoex      2011-02-18 06:19:28 UTC

  FreeBSD ports repository

  Modified files:
    converters/mpack     Makefile 
    converters/mpack/files patch-magic.c 
  Log:
  - tag PNG fils as image/png
  PR:             154852
  Submitted by:   Kurt Lidl
  
  Revision  Changes    Path
  1.22      +1 -1      ports/converters/mpack/Makefile
  1.2       +10 -2     ports/converters/mpack/files/patch-magic.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer 2011-02-18 06:21:19 UTC
State Changed
From-To: open->closed

committed, thanks.