ports audio/audacity produces corrupt png images. This is because the port, uses dos2unix framework, and incorrectly convert dos2tounix on ALL files in the WRKSRC files, including ... png images an option on the Makefile, would fix the problem... DOS2UNIX_GLOB= Makefile.* *.c *.h
Should use the options DOS2UNIX_GLOB= Makefile.* *.c* *.h to cover .cpp files too
(In reply to xxjack12xx from comment #1) correct.... Thanks, should bug the mantainer now..
@Jack can you attach a patch to address the issue please? This also needs to be MFH'd if relevant to the quarterly branch version.
Sure, will have a patch ready shortly.
Created attachment 163576 [details] Patch to only dos2unix text files
@Lenzi, can you test the attached patch and confirm whether that resolves the issue for you. Thanks!
A commit references this bug: Author: riggs Date: Sun Dec 13 12:11:48 UTC 2015 New revision: 403661 URL: https://svnweb.freebsd.org/changeset/ports/403661 Log: Fix accidental dos2unix on non-text-files during build PR: 204816 Submitted by: lenzi.sergio@gmail.com Approved by: xxjack12xx@gmail.com (maintainer) Changes: head/audio/audacity/Makefile
No MFH, this only affects HEAD.