diff --git a/apt-0.5.15lorg2-lorg-pkgcachegen-selfprov.patch b/apt-0.5.15lorg2-lorg-pkgcachegen-selfprov.patch new file mode 100644 index 0000000..37b3362 --- /dev/null +++ b/apt-0.5.15lorg2-lorg-pkgcachegen-selfprov.patch @@ -0,0 +1,23 @@ +commit 542d44fd82ddc53b779ce4a223f10215f129b7bc +Author: pmatilai +Date: Mon Feb 6 23:21:02 2006 +0000 + + - enable self-referencing provides and see what breaks... + +diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc +index 126f0b2..0e06e40 100644 +--- a/apt-pkg/pkgcachegen.cc ++++ b/apt-pkg/pkgcachegen.cc +@@ -481,9 +481,12 @@ bool pkgCacheGenerator::ListParser::NewProvides(pkgCache::VerIterator Ver, + { + pkgCache &Cache = Owner->Cache; + ++// PM:2006-02-07 allow self-referencing provides for now at least... ++#if 0 + // We do not add self referencing provides + if (Ver.ParentPkg().Name() == PackageName) + return true; ++#endif + + // Get a structure + unsigned long Provides = Owner->Map.Allocate(sizeof(pkgCache::Provides)); diff --git a/apt.spec b/apt.spec index d71cf0d..0bc5c0f 100644 --- a/apt.spec +++ b/apt.spec @@ -64,6 +64,7 @@ Patch52: apt-0.5.15lorg2-alt-i18n-apt-shell-typo.patch Patch53: apt-0.5.15lorg2-alt-src-apt-shell-wrong_message_fix.patch Patch54: apt-0.5.15lorg2-alt-genpkglist-reqfiles.patch Patch55: apt-0.5.15lorg2-alt-manifest.patch +Patch56: apt-0.5.15lorg2-lorg-pkgcachegen-selfprov.patch # Normally not applied, but useful. Patch101: apt-0.5.4cnc9-alt-getsrc-debug.patch @@ -276,6 +277,7 @@ This package contains method 'rsync' for APT. %patch53 -p1 %patch54 -p1 %patch55 -p1 +%patch56 -p1 find -type f -name \*.orig -delete