[Reproducible-commits] [dpkg] 08/09: dpkg-source: ensure quilt's .pc directory is created before writing .pc/applied-patches

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


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

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

commit 8bf4a7d8db0fe9f1b17fb069a1c26166157ca8e1
Author: Raphaël Hertzog <hertzog at debian.org>
Date:   Wed Dec 23 17:12:56 2009 +0100

    dpkg-source: ensure quilt's .pc directory is created before writing .pc/applied-patches
    
    The quilt .pc directory was not created when a new automatic patch
    was registered and when no other patches were managed by quilt.
    
    Based-on-patch-by: Tommi Vainikainen <thv+debian at iki.fi>
---
 scripts/Dpkg/Source/Package/V3/quilt.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/Dpkg/Source/Package/V3/quilt.pm b/scripts/Dpkg/Source/Package/V3/quilt.pm
index 4ec79c3..56acc71 100644
--- a/scripts/Dpkg/Source/Package/V3/quilt.pm
+++ b/scripts/Dpkg/Source/Package/V3/quilt.pm
@@ -286,6 +286,7 @@ sub register_autopatch {
     my $patch = File::Spec->catfile($dir, "debian", "patches", $auto_patch);
 
     if (-e $patch) {
+        $self->create_quilt_db($dir);
         # Add auto_patch to series file
         if (not $has_patch) {
             add_line($series, $auto_patch);

-- 
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