From 09e398c56363e64732bc64d43dce460438a0e1a6 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Tue, 22 Nov 2005 16:43:35 +0000 Subject: [PATCH] disabled stuff that does not compile --- zypp/source/yum/YUMPatchImpl.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/zypp/source/yum/YUMPatchImpl.cc b/zypp/source/yum/YUMPatchImpl.cc index 43046d0..e9aba77 100644 --- a/zypp/source/yum/YUMPatchImpl.cc +++ b/zypp/source/yum/YUMPatchImpl.cc @@ -14,7 +14,8 @@ #include "zypp/source/yum/YUMSource.h" #include #include "zypp/parser/yum/YUMParserData.h" -#include +#warning DISBALED INCLUDE BELOW AS IT DOES NOT COMPILE +//#include #include "zypp/Package.h" #include "zypp/Script.h" #include "zypp/Message.h" @@ -48,12 +49,17 @@ namespace zypp ) { CapFactory _f; +#warning ORIGINAL CODE DISABLED AS IT DOES NOT COMPILE + Capability cap( _f.parse( + parsed.name, Resolvable::Kind("Patch") + ) ); +#if 0 Capability cap( _f.parse( Resolvable::Kind("Patch"), parsed.name, Edition(), Arch("noarch"))); - +#endif for (std::list >::const_iterator it = parsed.atoms.begin(); it != parsed.atoms.end(); @@ -95,7 +101,7 @@ namespace zypp _deps.setRequires(_req); (*it)->setDeps(_deps); } - + } } -- 2.7.4