tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44713, brokennes of GNU patch



On Fri, 9 Dec 2011, Aleksey Cheusov wrote:

> Hello. GNU patch fails to apply pkgsrc patches correctly (see
> http://gnats.netbsd.org/44713).  Another problem is that latest versions
> of GNU patch exit with error if files to be modified are read-only. This
> happens very often with pkgsrc distfiles.
> 
> In order to solve this problem I'd like to enable devel/nbpatch
> unconditionally during bootstrap on Linux and Solaris.
> Then close pkg/44713.

I just closed pkg/44713, it should have been closed in June when shattered@
regened the patch.

> Objections? The patch is in attachment.

Yes, I the short term patches should be regened to work, and a note could
be put in the documentation that this is a known problem and that setting
"TOOL_PLATFORM.patch= #empty" in mk.conf is a work around.

In the long term fix GNU patch!

-- 
Steven


Home | Main Index | Thread Index | Old Index