[Bug 204725] |make makepatch| inserts context junk after r401709

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 22 01:56:48 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204725

--- Comment #4 from John Marino <marino at FreeBSD.org> ---
There were two issues.

1) The last minute add of "local" keyword broke makepatch.  I don't know why,
but some of the "local var=$(some cmd)" didn't work.  I had to change them to:
local var
var=$(some cmd)

2) The hunk processing had a logic flaw.

Please try the attached patch.
I think it works.

(It results in one less patch at the end because one patch changed a file that
had been altered by another another patch.  When this happens, the changes get
combined and this is expected)

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


More information about the freebsd-ports-bugs mailing list