Bug 95453 - print/fdpf: USE_DOS2UNIX=yes binary file corruption
Summary: print/fdpf: USE_DOS2UNIX=yes binary file corruption
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 02:50 UTC by Dmitry Marakasov
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 Dmitry Marakasov 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 freebsd_triage 2006-04-07 09:29:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry

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


Committed, thanks!