Просмотр исходного кода

Apply patch to fix #217943 and, #235266, build conflicts were being pushed
into @unmet instead of @conflicts (probably due to a bad copy & paste).

Scott James Remnant лет назад: 22
Родитель
Сommit
9e604260ef
3 измененных файлов с 10 добавлено и 3 удалено
  1. 6 0
      ChangeLog
  2. 2 1
      debian/changelog
  3. 2 2
      scripts/dpkg-checkbuilddeps.pl

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+Sun Feb 29 21:56:25 GMT 2004 Scott James Remnant <scott@netsplit.com>
+
+  * scripts/dpkg-checkbuilddeps.pl: Push build-conflicts errors into
+  @conflicts instead of @unmet, this looks like an accidental error
+  introduced by bad copy&pasteing.
+
 Mon Mar  8 17:26:06 GMT 2004 Scott James Remnant <scott@netsplit.com>
 
   * debian/changelog, version-nr: Bump to 1.10.19.

+ 2 - 1
debian/changelog

@@ -1,6 +1,7 @@
 dpkg (1.10.19) unstable; urgency=low
 
-  * 
+  * Distinguish unmet build dependencies from build conflicts.
+    Closes: #217943, #235266.
 
  -- Scott James Remnant <scott@netsplit.com>  UNRELEASED
 

+ 2 - 2
scripts/dpkg-checkbuilddeps.pl

@@ -44,13 +44,13 @@ if (defined($fi{"C Build-Depends"})) {
 	push @unmet, build_depends(parsedep($fi{"C Build-Depends"}, 1, 1), @status);
 }
 if (defined($fi{"C Build-Conflicts"})) {
-	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts"}, 1, 1), @status);
+	push @conflicts, build_conflicts(parsedep($fi{"C Build-Conflicts"}, 1, 1), @status);
 }
 if (! $binary_only && defined($fi{"C Build-Depends-Indep"})) {
 	push @unmet, build_depends(parsedep($fi{"C Build-Depends-Indep"}, 1, 1), @status);
 }
 if (! $binary_only && defined($fi{"C Build-Conflicts-Indep"})) {
-	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts-Indep"}, 1, 1), @status);
+	push @conflicts, build_conflicts(parsedep($fi{"C Build-Conflicts-Indep"}, 1, 1), @status);
 }
 
 if (@unmet) {