Bug 95453 - print/fdpf: USE_DOS2UNIX=yes binary file corruption
print/fdpf: USE_DOS2UNIX=yes binary file corruption
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Thierry Thomas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-07 02:50 UTC by amdmi3
Modified: 2006-04-08 17:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amdmi3 2006-04-07 02:50:13 UTC
Some binary files installed by this port get currupted by USE_DOS2UNIX=yes during `make patch'.

Fix: 

Provide specific files in USE_DOS2UNIX instead of 'yes' or make portmgr people merge ports/92688.
How-To-Repeat: % cd /usr/ports/graphics/fpdf153
% make extract
% mv work work.orig
% make extract
% make patch-dos2unix
% diff -rq work.orig work | grep differ | awk '{print $2}' | xargs -n1 file | grep -v text
work.orig/fpdf153/tutoriel/calligra.afm: ASCII font metrics
work.orig/fpdf153/tutoriel/calligra.ttf: TrueType font data
work.orig/fpdf153/tutoriel/calligra.z: data
work.orig/fpdf153/tutoriel/logo.png: PNG image data, 104 x 71, 8-bit colormap, non-interlaced
work.orig/fpdf153/tutoriel/logo_pb.png: PNG image data, 102 x 46, 8-bit colormap, non-interlaced
Comment 1 Edwin Groothuis freebsd_committer 2006-04-07 09:29:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry

Over to maintainer
Comment 2 Thierry Thomas freebsd_committer 2006-04-08 17:09:27 UTC
State Changed
From-To: open->closed


Committed, thanks!