Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 2021 20:21:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257027] Mk/Scripts/smart_makepatch.sh: Force diff to produce the patch file instead of "Binary files ... differ" message
Message-ID:  <bug-257027-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 257027
           Summary: Mk/Scripts/smart_makepatch.sh: Force diff to produce
                    the patch file instead of "Binary files ... differ"
                    message
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sunpoet@FreeBSD.org

Patch:
https://people.FreeBSD.org/~sunpoet/patch/Mk-Scripts-smart_makepatch.sh.txt

Force diff to produce the patch file instead of "Binary files ... differ"
message
It helps avoid generating wrong patches, e.g. patch-grpc.gemspec in r567838
[1].

from diff manpage:
    -a --text
        Treat all files as ASCII text.  Normally diff will simply print
        =E2=80=9CBinary files ... differ=E2=80=9D if files contain binary c=
haracters.
        Use of this option forces diff to produce a diff.

[1]
https://cgit.freebsd.org/ports/diff/net/rubygem-grpc130/files/patch-grpc.ge=
mspec?id=3D073c1c710a0c7254820adab9920c1903ace83fae

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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