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

Collapse All | Expand All

(-)b/editors/pdfedit/Makefile (-3 / +1 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	pdfedit
3
PORTNAME=	pdfedit
4
PORTVERSION=	0.4.5
4
PORTVERSION=	0.4.5
5
PORTREVISION=	15
5
PORTREVISION=	16
6
CATEGORIES=	editors
6
CATEGORIES=	editors
7
MASTER_SITES=	SF
7
MASTER_SITES=	SF
8
8
Lines 13-20 LICENSE= GPLv2 Link Here
13
13
14
BROKEN_powerpc64=	fails to configure: error: Could not link against boost_program_options
14
BROKEN_powerpc64=	fails to configure: error: Could not link against boost_program_options
15
BROKEN_sparc64=		fails to configure: error: Could not link against boost_program_options
15
BROKEN_sparc64=		fails to configure: error: Could not link against boost_program_options
16
BROKEN_FreeBSD_13=	fails to compile: call to 'advance' is ambiguous
17
BROKEN_FreeBSD_14=	fails to compile: call to 'advance' is ambiguous
18
16
19
LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
17
LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
20
		libfreetype.so:print/freetype2 \
18
		libfreetype.so:print/freetype2 \
(-)b/editors/pdfedit/files/patch-src-kernel-stateupdater.cc (-1 / +10 lines)
Lines 1-6 Link Here
1
--- src/kernel/stateupdater.cc.orig	2009-09-11 12:02:56 UTC
1
--- src/kernel/stateupdater.cc.orig	2009-09-11 12:02:56 UTC
2
+++ src/kernel/stateupdater.cc
2
+++ src/kernel/stateupdater.cc
3
@@ -1227,7 +1227,7 @@ bool checkAndFixOperator (const StateUpd
3
@@ -1207,7 +1207,7 @@ bool checkAndFixOperator (const StateUpdater::CheckTyp
4
 	PdfOperator::Operands::reverse_iterator rit = operands.rbegin ();
5
 	// Be careful -- buffer overflow
6
 	argNum = std::min (argNum, operands.size());
7
-	advance (rit, argNum);
8
+	boost::advance (rit, argNum);
9
 	PdfOperator::Operands::iterator it = rit.base ();
10
 	// Loop from the first operator to the end
11
 	for (int pos = 0; it != operands.end (); ++it, ++pos)
12
@@ -1227,7 +1227,7 @@ bool checkAndFixOperator (const StateUpdater::CheckTyp
4
 			{ // Convert it to real
13
 			{ // Convert it to real
5
 				double dval = 0.0;
14
 				double dval = 0.0;
6
 				dval = IProperty::getSmartCObjectPtr<CInt>(*it)->getValue();
15
 				dval = IProperty::getSmartCObjectPtr<CInt>(*it)->getValue();

Return to bug 257625