bug#328: [Lnx-bbc-devel] bug#328: make patch doesn't work with patchfiles which need ! -p1

Dave Barry <[email protected]>
Newsgroups gmane.linux.bbc.bugs
Message-ID <[email protected]>
Quothe [email protected], on Thu, Feb 27, 2003:
> Package: libpcap
> Version: 0.7.1
>  
> i was trying to get the patch target working on libpcap, using the
> prism2/802.11  header patch from
> http://www.shaftnet.org/~pizza/software/libpcap-0.7.1-prism.diff. it
> did work when i went to WORKSRC and did the patch manually with -p0. I
> noticed that in gar.lib.mk PATCHDIRLEVEL seems to be fixed at -p0. maybe
> i'll get inspired tommorow and write a patch to have patch0,
> patch1, etc targets available, instead of just patch.
> 

Actually, you can set PATCHDIRLEVEL in individual package Makefiles,
and it will override what is in gar.lib.mk.  So in the Makefile you
can just do 

PATCHDIRLEVEL=0

and you should be all set.
-- 
Stealin' DNA samples from the unborn, then you comin' after us 'cause we
sampled a James Brown horn?
		--Michael Franti
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.