[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:08 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=3af7088
The following commit has been merged in the master branch:
commit 3af7088e4e11b74cdc949411fd043b4ff354e409
Author: Robin Mills <robin at clanmills.com>
Date: Sun Dec 27 12:01:04 2015 +0000
#1145. Correction to r4149 to fix msvc build-breaker.
---
src/minoltamn.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/minoltamn.cpp b/src/minoltamn.cpp
index 9d4143b..6ea8d18 100644
--- a/src/minoltamn.cpp
+++ b/src/minoltamn.cpp
@@ -1944,16 +1944,13 @@ namespace Exiv2 {
// 2 can't work for a remote file as exiftool doesn't handle remote IO
// 3 almost certainly throws an ugly ugly dos box on the screen in Windows
// 4 I haven't asked Phil's permission to do this
- //
static std::ostream& resolveLensTypeUsingExiftool(std::ostream& os, const Value& value,
const ExifData* metadata)
{
- bool bFixed = false;
// #if ! defined(WIN32) && ! defined(__CYGWIN__) && ! defined(__MINGW__)
#ifndef _MSC_VER
FILE* f = ::popen("/bin/bash -c \"exiftool ~/temp/screen.jpg | grep 'Lens ID' | cut -d: -f 2 | sed -E -e 's/^ //g'\"","r");
if ( f ) {
- bFixed = true;
char buffer[200];
int n=::fread(buffer,1,sizeof buffer-1,f);
::pclose(f);
@@ -1966,9 +1963,8 @@ namespace Exiv2 {
*::strchr(buffer,c)=0;
return os << buffer;
}
- return os;
#endif
- if ( !bFixed ) return EXV_PRINT_TAG(minoltaSonyLensID)(os, value, metadata);
+ return EXV_PRINT_TAG(minoltaSonyLensID)(os, value, metadata);
}
static std::ostream& resolveLensTypeTamron(std::ostream& os, const Value& value,
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list