View | Details | Raw Unified | Return to bug 132186
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	pdfedit
8
PORTNAME=	pdfedit
9
PORTVERSION=	0.4.1
9
PORTVERSION=	0.4.1
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	editors
11
CATEGORIES=	editors
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
(-)files/patch-src-kernel-cpdf.cc (+29 lines)
Added Link Here
1
--- src/kernel/cpdf.cc.orig	2008-02-22 11:42:07.000000000 +0300
2
+++ src/kernel/cpdf.cc	2009-02-28 05:38:20.000000000 +0300
3
@@ -2347,7 +2347,7 @@
4
 		instance->file = file;
5
 		kernelPrintDbg(debug::DBG_INFO, "Instance created successfully openMode=" << openMode);
6
 		return instance;
7
-	}catch(exception &e)
8
+	}catch(std::exception &e)
9
 	{
10
 		kernelPrintDbg(DBG_CRIT, "Pdf instance creation failed. cause="<<e.what());
11
 		string what=string("CPdf open failed. reason=")+e.what();
12
@@ -2631,7 +2631,7 @@
13
 		try
14
 		{
15
 			minPos = getNodePosition(*this, newValue, &nodeCountCache);
16
-		}catch(exception &e)
17
+		}catch(std::exception &e)
18
 		{
19
 			// position can't be determined
20
 			// no special handling is needed, minPos keeps its value
21
@@ -2690,7 +2690,7 @@
22
 				kernelPrintDbg(DBG_WARN, "page with original position="<<i->first<<" is ambiguous. Invalidating.");
23
 				// page position is ambiguous and so it has to be invalidate
24
 				i->second->invalidate();
25
-			}catch(exception & e)
26
+			}catch(std::exception & e)
27
 			{
28
 				kernelPrintDbg(DBG_CRIT, "Unexpected error. cause="<<e.what());
29
 				assert(!"Possibly bug.");

Return to bug 132186