The following commit has been merged in the lenny branch:
commit 8bf4a7d8db0fe9f1b17fb069a1c26166157ca8e1
Author: Raphaël Hertzog <[email protected]>
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 <[email protected]>
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);
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]