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

Re: How to handle Debian patches



On Sat, 17 May 2008, Steve M. Robbins wrote:

I may be missing the intent of your question, since I don't know how
dpatch "solves" comments in patches.

Dpatch wraps the patch into a script for instance like this:

-----------------------------------------------------------------------
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_tcltk8.5.dpatch by  <tille@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Tcl/Tl 8.5

@DPATCH@

diff -ubrN WordNet-3.0.orig/aclocal.m4 WordNet-3.0/aclocal.m4
--- WordNet-3.0.orig/aclocal.m4 2007-06-28 08:27:15.000000000 +0200
+++ WordNet-3.0/aclocal.m4      2008-05-05 11:49:08.000000000 +0200
-----------------------------------------------------------------------

But you can put any text you
like in front of the actual difference chunks and the "patch" program
will simply ignore it.  Thus you can perfectly well comment your
patches as suggested by Raphael & Charles, when using quilt.  I do
this, sometimes.

Ahhh, OK, this hint helps.

Kind regards

          Andreas.

--
http://fam-tille.de


Reply to: