[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:46:12 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=ed5bbe6

The following commit has been merged in the master branch:
commit ed5bbe6e5d17db386f38e5db98ce12dda1206b0b
Author: Robin Mills <robin at clanmills.com>
Date:   Sun Jan 10 10:33:10 2016 +0000

    #1150.  Fixed build breaker on elderly Macs (10.6 and earlier).
---
 src/actions.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/actions.cpp b/src/actions.cpp
index 0a0e2b8..4195847 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -1968,12 +1968,11 @@ namespace {
             if ( Params::instance().modifyCmds_.size() == 0
             &&   Params::instance().target_ == (Params::ctXmp | Params::ctXmpSidecar) // option -eXx
             ) {
-                // http://www.cplusplus.com/reference/ostream/ostream/ostream/
-                std::filebuf fb;
-                fb.open (target,std::ios::out);
-                std::ostream os(&fb);
+                // http://www.cplusplus.com/doc/tutorial/files/
+                std::ofstream os;
+                os.open(target.c_str());
                 sourceImage->printStructure(os,Exiv2::kpsXMP);
-                fb.close();
+                os.close();
                 return 0;
             } else {
                 targetImage->setXmpData(sourceImage->xmpData());

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list