pkgsrc-Bugs archive

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

Re: pkg/43656: patches of files with DOS CR/LF

The following reply was made to PR pkg/43656; it has been noted by GNATS.

From: Stefan Schaeckeler <>
Subject: Re: pkg/43656: patches of files with DOS CR/LF
Date: Fri, 23 Jul 2010 23:40:58 -0700 (PDT)

 >  > the patch patch-aa for libebml patches file make/linux/Makefile. This
 >  > makefile has DOS CR/LFs. Slackware's patch program as well as the patch
 >  > program from pgksrc can't cope with that.
 >  Which patch program from pkgsrc? There is the ancient/broken GNU patch
 Yes, I used gnu patch.
 >  and the patch NetBSD is using too (devel/nbpatch). The latter is used by
 >  the infrastructure by adding TOOLS_PLATFORM.patch= to your mk.conf.
 I installed nbpatch and added TOOLS_PLATFORM.patch to mk.conf and now the 
patch applies cleanly.
 Figuring this out shouldn't be left to the user, should it? Don't you think 
that all this must be handled automatically. Maybe bootstrap/boostrap should 
install nbpatch as well? Alternatively, patches should also apply cleanly with 

Home | Main Index | Thread Index | Old Index