$OpenBSD: patch-ECtools_zarafa-search_ECIndexImporter_cpp,v 1.2 2013/01/27 13:06:20 robert Exp $

ECIndexImporter.cpp:400:5: error: 'auto_ptr' was not declared in this scope

--- ECtools/zarafa-search/ECIndexImporter.cpp.orig	Wed Dec  5 16:06:37 2012
+++ ECtools/zarafa-search/ECIndexImporter.cpp	Sun Jan 20 17:18:38 2013
@@ -47,6 +47,7 @@
  * 
  */
 
+#include <memory>
 #include "platform.h"
 
 #include "ECIndexImporter.h"
@@ -437,7 +438,7 @@ HRESULT ECIndexImporter::ProcessThread()
     ECIndexDB *lpIndex = NULL;
     ECIndexDB *lpThisIndex = NULL;
     ArchiveItem *lpArchiveItem = NULL;
-    auto_ptr<ArchiveItem> lpStubTarget;
+    std::auto_ptr<ArchiveItem> lpStubTarget;
     
     m_lpLogger->Log(EC_LOGLEVEL_DEBUG, "Importer thread started");
     
