View | Details | Raw Unified | Return to bug 272311 | Differences between
and this patch

Collapse All | Expand All

(-)b/deskutils/pinot/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	pinot
1
PORTNAME=	pinot
2
PORTVERSION=	1.21
2
PORTVERSION=	1.21
3
PORTREVISION=	7
3
PORTREVISION=	8
4
CATEGORIES=	deskutils
4
CATEGORIES=	deskutils
5
5
6
MAINTAINER=	thierry@FreeBSD.org
6
MAINTAINER=	thierry@FreeBSD.org
(-)b/deskutils/pinot/files/patch-Tokenize_filters_Exiv2ImageFilter.cc (-1 / +20 lines)
Added Link Here
0
- 
1
--- Tokenize/filters/Exiv2ImageFilter.cc.orig	2022-02-22 20:31:11 UTC
2
+++ Tokenize/filters/Exiv2ImageFilter.cc
3
@@ -236,7 +236,7 @@ bool Exiv2ImageFilter::next_document(void)
4
 
5
 	try
6
 	{
7
-		Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(m_filePath);
8
+		Exiv2::Image::UniquePtr image { Exiv2::ImageFactory::open(m_filePath) };
9
 		if (image.get() == NULL)
10
 		{
11
 			clog << m_filePath.c_str() << " is not an image" << endl;
12
@@ -388,7 +388,7 @@ bool Exiv2ImageFilter::next_document(void)
13
 			}
14
 		}
15
 	}
16
-	catch (Exiv2::AnyError &e)
17
+	catch (Exiv2::Error &e)
18
 	{
19
 		clog << "Caught exiv2 exception: " << e << endl;
20
 		foundData = false;

Return to bug 272311