public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/votca-tools/files: votca-tools-1.2.3-boost-1.53.patch
@ 2013-01-27  4:03 Christoph Junghans (ottxor)
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Junghans (ottxor) @ 2013-01-27  4:03 UTC (permalink / raw
  To: gentoo-commits

ottxor      13/01/27 04:03:19

  Added:                votca-tools-1.2.3-boost-1.53.patch
  Log:
  fix build with boost-1.53 (bug #454104)
  
  (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key C2000586)

Revision  Changes    Path
1.1                  sci-libs/votca-tools/files/votca-tools-1.2.3-boost-1.53.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/files/votca-tools-1.2.3-boost-1.53.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/files/votca-tools-1.2.3-boost-1.53.patch?rev=1.1&content-type=text/plain

Index: votca-tools-1.2.3-boost-1.53.patch
===================================================================
# HG changeset patch
# User Victor Ruehle <ruehle@votca.org>
# Date 1359258783 25200
# Branch stable
# Node ID f26d7ee778d666babe7f58ae3770b4f3d997aa99
# Parent  d10dec78492a78ad6709e686416615fc8b43c896
fix build with boost-1.53 (fixes issue 131)

diff -r d10dec78492a -r f26d7ee778d6 include/votca/tools/tokenizer.h
--- a/include/votca/tools/tokenizer.h	Sun Dec 02 21:09:27 2012 -0700
+++ b/include/votca/tools/tokenizer.h	Sat Jan 26 20:53:03 2013 -0700
@@ -93,8 +93,10 @@
         std::vector<std::string> tmp;
         ToVector(tmp);
         v.resize(tmp.size());
-        transform(tmp.begin(), tmp.end(), v.begin(),
-            boost::lexical_cast<T, std::string>);
+        typename std::vector<T>::iterator viter = v.begin();
+        typename std::vector<std::string>::iterator iter;
+        for(iter = tmp.begin(); iter!=tmp.end(); ++iter, ++viter)
+            *viter = boost::lexical_cast<T, std::string>(*iter);
     }
     
 private:





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-libs/votca-tools/files: votca-tools-1.2.3-boost-1.53.patch
@ 2014-08-31 23:37 Christoph Junghans (ottxor)
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Junghans (ottxor) @ 2014-08-31 23:37 UTC (permalink / raw
  To: gentoo-commits

ottxor      14/08/31 23:37:54

  Removed:              votca-tools-1.2.3-boost-1.53.patch
  Log:
  version bump
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-31 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-31 23:37 [gentoo-commits] gentoo-x86 commit in sci-libs/votca-tools/files: votca-tools-1.2.3-boost-1.53.patch Christoph Junghans (ottxor)
  -- strict thread matches above, loose matches on Subject: below --
2013-01-27  4:03 Christoph Junghans (ottxor)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox