Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 16:20:35 +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-WTROZabj53@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257027-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257027-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3Dfcb34faf706733a667358b293970fac=
444251828

commit fcb34faf706733a667358b293970fac444251828
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-14 16:06:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-14 16:15:03 +0000

    Mk/Scripts/smart_makepatch.sh: Force diff to produce the patch file ins=
tead
of "Binary files ... differ" message

    It helps avoid generating wrong patches, e.g. patch-grpc.gemspec in r56=
7838
[1].

    from diff manpage:
        -a --text
            Treat all files as ASCII text.  Normally diff will simply print
            "Binary files ... differ" if files contain binary characters.
            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

    PR:             257027
    Approved by:    mat (portmgr)

 Mk/Scripts/smart_makepatch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--=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-257027-7788-WTROZabj53>