From: Michael Andres Date: Tue, 22 Nov 2005 16:43:35 +0000 (+0000) Subject: disabled stuff that does not compile X-Git-Tag: BASE-SuSE-SLE-10-SP2-Branch~3670 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09e398c56363e64732bc64d43dce460438a0e1a6;p=platform%2Fupstream%2Flibzypp.git disabled stuff that does not compile --- 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); } - + } }