Bug 95453

Summary: print/fdpf: USE_DOS2UNIX=yes binary file corruption
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

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!