[Reproducible-commits] [dpkg] 07/08: Fix apply_patches() funtion of 3.0 (quilt) format to properly skip auto patch

Holger Levsen holger at layer-acht.org
Tue May 3 08:43:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to annotated tag 1.14.27
in repository dpkg.

commit 31f2beaf55b4a6c9a4d33a972af9cc60c5b5cbcd
Author: Raphael Hertzog <hertzog at debian.org>
Date:   Sat Jul 25 00:48:14 2009 +0200

    Fix apply_patches() funtion of 3.0 (quilt) format to properly skip auto patch
    
    When quilt was used, it was applying the automatic patch even
    when $skip_auto was set to 1. This bug was introduced while fixing
    bug #518453 (commit ea1530fe45c8b1ad61d91c0791c53ecf363899bf).
---
 scripts/Dpkg/Source/Package/V3/quilt.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Dpkg/Source/Package/V3/quilt.pm b/scripts/Dpkg/Source/Package/V3/quilt.pm
index e6645c9..5b45f6c 100644
--- a/scripts/Dpkg/Source/Package/V3/quilt.pm
+++ b/scripts/Dpkg/Source/Package/V3/quilt.pm
@@ -166,8 +166,8 @@ sub apply_patches {
     if (not $self->{'options'}{'without_quilt'}) {
         my %opts;
         $opts{"to_file"} = "/dev/null" if $skip_auto;
-        info(_g("applying all patches with %s"), "quilt push -a -q") unless $skip_auto;
-        $self->run_quilt($dir, ['push', '-a', '-q'],
+        info(_g("applying all patches with %s"), "quilt push -q " . $patches[-1]) unless $skip_auto;
+        $self->run_quilt($dir, ['push', '-q', $patches[-1]],
                          delete_env => ['QUILT_PATCH_OPTS'],
                          wait_child => 1, %opts);
         foreach my $patch (@patches) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list