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

Re: How to cope with patches sanely



On Tue Feb 05 23:34, Charles Plessy wrote:
> Case 1: It is because all the changes were in the diff.gz.
> 
> Case 2: It is because a clean way of applying the contents of
> debian/patches has been developped and used.
> 
>   In that case, unless "dpkg-source -b" has been similarly engineered to
>   turn the new changes into a new patch, things will fail when
>   "debian/rules clean" calls the unpatch rule and the changes overlap an
>   existing patch.
> 
> Case 3: It is because the sources have been packed patched.
> 
>   In that case, "dpkg-source -b" is expected to work.

Don't forget:

Case 4: Some wig&pen or patches.tar.gz source format which can apply the
patches on unpack (maybe this is Case 2.5).

It solves the "don't trust debian/rules" problem.

Matt

-- 
Matthew Johnson

Attachment: signature.asc
Description: Digital signature


Reply to: