Mailinglist Archive: opensuse-packaging (214 mails)

< Previous Next >
Re: [opensuse-packaging] creating/applying a patch
  • From: Dave Plater <davejplater@xxxxxxxxx>
  • Date: Thu, 28 Oct 2010 15:03:59 +0200
  • Message-id: <4CC974BF.9020504@xxxxxxxxx>
On 10/22/2010 04:54 AM, Cristian Rodríguez wrote:
For the start, grab a recent version of quilt and use the following
.quiltrc file

cat .quiltrc

# Options passed to GNU diff when generating patches
QUILT_DIFF_OPTS="--show-c-function"
# Options to pass to commands (QUILT_${COMMAND}_ARGS)
QUILT_PUSH_ARGS="--color=auto"
QUILT_DIFF_ARGS="--no-timestamps --color=auto"
QUILT_REFRESH_ARGS="--no-timestamps --backup -p0"
QUILT_PATCH_OPTS="--backup"
QUILT_NO_DIFF_TIMESTAMP="true"
QUILT_NO_DIFF_INDEX="true"
QUILT_SETUP_ARGS="-v --fuzz=0"

This is particulary helpful nowdays, as the build system barfs when
patches do not apply cleanly with fuzz=0
Thanks for this, I no longer have to put -p1 for my patches nor have
people complain about their "timestamps"
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >