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

Re: howto add patches?



On Fri, Jul 11, 2003 at 10:33:53AM +0200, GCS wrote:
> Hi all,
> 
>  I would like to ask how can I add a patch to an existing package? I
> have created debian/patches, placed my patch there. Adding a 'patch -p1 <
> ..' seems to be ok for the first time. But second time, it fails, as the
> source is already patched. How can I use a stamp file maybe showing it
> is already patched, and skip it? Also, I have noticed dbs, but I have no
> idea at all, how should I use it. It seems I have to reorganize the
> package, put the tarball into the package instead of the source
> directly, and do some magic. Any docs on this subject?
> 

Execuse me:
I think i have an idea

You can apply the patch, then touch configure-stamp or whatever you 
want.
During make clean:
test for this file, If it's there then apply the patch using -R
and you'll get a clean source ;)

-- 
----------------
-- Katoob Main Developer
Linux registered user # 224950
ICQ # 58475622
FIRST make it run, THEN make it run fast "Brian Kernighan".
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature

Attachment: pgp2lUBemra6Q.pgp
Description: PGP signature


Reply to: