editors/pdfedit: unreak build after boost upgrade
PR: 246106
This commit is contained in:
parent
d4f3d96260
commit
fa795d332e
2 changed files with 11 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= pdfedit
|
||||
PORTVERSION= 0.4.5
|
||||
PORTREVISION= 15
|
||||
PORTREVISION= 16
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
--- src/kernel/stateupdater.cc.orig 2009-09-11 12:02:56 UTC
|
||||
+++ src/kernel/stateupdater.cc
|
||||
@@ -1227,7 +1227,7 @@ bool checkAndFixOperator (const StateUpd
|
||||
@@ -1207,7 +1207,7 @@ bool checkAndFixOperator (const StateUpdater::CheckTyp
|
||||
PdfOperator::Operands::reverse_iterator rit = operands.rbegin ();
|
||||
// Be careful -- buffer overflow
|
||||
argNum = std::min (argNum, operands.size());
|
||||
- advance (rit, argNum);
|
||||
+ boost::advance (rit, argNum);
|
||||
PdfOperator::Operands::iterator it = rit.base ();
|
||||
// Loop from the first operator to the end
|
||||
for (int pos = 0; it != operands.end (); ++it, ++pos)
|
||||
@@ -1227,7 +1227,7 @@ bool checkAndFixOperator (const StateUpdater::CheckTyp
|
||||
{ // Convert it to real
|
||||
double dval = 0.0;
|
||||
dval = IProperty::getSmartCObjectPtr<CInt>(*it)->getValue();
|
||||
|
|
Loading…
Reference in a new issue