summaryrefslogtreecommitdiff
path: root/prt-get
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2006-09-13 17:55:59 +0000
committerJohannes Winkelmann <jw@smts.ch>2006-09-13 17:55:59 +0000
commitf672f6723c114a1ada39837ccfc0d384a40a0313 (patch)
treeac25428b7305c23872a34e4ee4f180d68a1108aa /prt-get
parent2f15ee584b1b097f4a50daeab18570880aa6903c (diff)
downloadcore-f672f6723c114a1ada39837ccfc0d384a40a0313.tar.gz
core-f672f6723c114a1ada39837ccfc0d384a40a0313.tar.xz
prt-get: remove unused patch
Diffstat (limited to 'prt-get')
-rw-r--r--prt-get/prt-get-0.5.11-deptree-alias.diff40
1 files changed, 0 insertions, 40 deletions
diff --git a/prt-get/prt-get-0.5.11-deptree-alias.diff b/prt-get/prt-get-0.5.11-deptree-alias.diff
deleted file mode 100644
index 81e9540a..00000000
--- a/prt-get/prt-get-0.5.11-deptree-alias.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- prt-get-0.5.11/src/prtget.cpp 2005-06-01 22:33:43.000000000 +0200
-+++ prt-get-0.5.11.new/src/prtget.cpp 2006-03-15 10:07:38.000000000 +0100
-@@ -1786,8 +1785,11 @@
- list<string> deps;
- StringHelper::split(package->dependencies(), ',', deps);
- list<string>::iterator it = deps.begin();
-+ bool isAlias = false;
-+ string aliasName = "";
-+
- for (; it != deps.end(); ++it) {
-- if ( m_pkgDB->isInstalled( *it ) ) {
-+ if ( m_pkgDB->isInstalled( *it, true, &isAlias, &aliasName ) ) {
- cout << "[i] ";
- } else {
- cout << "[ ] ";
-@@ -1796,6 +1798,9 @@
- cout << " ";
- }
- cout << *it;
-+ if (isAlias) {
-+ cout << " (provided by " << aliasName << ")";
-+ }
- const Package* p = m_repo->getPackage( *it );
- if (p) {
- if (p->dependencies().length() > 0) {
-Index: pkgdb.cpp
-===================================================================
---- prt-get-0.5.11/src/pkgdb.cpp (revision 1137)
-+++ prt-get-0.5.11/src/pkgdb.cpp (working copy)
-@@ -68,6 +68,10 @@
- *aliasOrignalName = provider;
- }
- }
-+ } else {
-+ if (isAlias) {
-+ *isAlias = false;
-+ }
- }
-
- return installed;

Generated by cgit