Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jun 2017 22:49:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219740] dos2unix should only handle 'text' files.
Message-ID:  <bug-219740-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219740

            Bug ID: 219740
           Summary: dos2unix should only handle 'text' files.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: tcberner@freebsd.org
                CC: freebsd-ports-bugs@FreeBSD.org

Hi

Mk/Uses/dos2unix also seems to 'fix' png-images and such, leading to the er=
ror
in pr 219090 with deskutils/kchmviewer:

The port has USES=3Ddos2unix, without restricting the files:

> make extract ; file ${WRKSRC}/src/resources/closetab.png
src/resources/closetab.png: PNG image data, 16 x 16, 8-bit colormap,
non-interlaced

> make patch ; file ${WRKSRC}/src/resources/closetab.png
src/resources/closetab.png: data

This seems rather unexpected -- shouldn't only 'text' files be touched by i=
t?



mfg Tobias

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219740-13>