Date: Sat, 28 Feb 2009 05:46:13 +0300 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: alepulver@FreeBSD.org Subject: ports/132186: [PATCH] editors/pdfedit: fix build with upcoming boost 1.37 Message-ID: <20090228024613.D8578108839@hades.panopticon> Resent-Message-ID: <200902280250.n1S2o2Cs074678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132186 >Category: ports >Synopsis: [PATCH] editors/pdfedit: fix build with upcoming boost 1.37 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Feb 28 02:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Feb 10 23:56:47 MSK 2009 >Description: This port fails with upciming boost 1.37 (http://wiki.freebsd.org/BoostPortingProject). The patch fixes it. Added file(s): - files/patch-src-kernel-cpdf.cc Port maintainer (alepulver@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- pdfedit-0.4.1_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/editors/pdfedit/Makefile,v retrieving revision 1.8 diff -u -u -r1.8 Makefile --- Makefile 13 Aug 2008 01:01:10 -0000 1.8 +++ Makefile 28 Feb 2009 02:44:25 -0000 @@ -7,7 +7,7 @@ PORTNAME= pdfedit PORTVERSION= 0.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= SF Index: files/patch-src-kernel-cpdf.cc =================================================================== RCS file: files/patch-src-kernel-cpdf.cc diff -N files/patch-src-kernel-cpdf.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-kernel-cpdf.cc 28 Feb 2009 02:38:20 -0000 @@ -0,0 +1,29 @@ +--- src/kernel/cpdf.cc.orig 2008-02-22 11:42:07.000000000 +0300 ++++ src/kernel/cpdf.cc 2009-02-28 05:38:20.000000000 +0300 +@@ -2347,7 +2347,7 @@ + instance->file = file; + kernelPrintDbg(debug::DBG_INFO, "Instance created successfully openMode=" << openMode); + return instance; +- }catch(exception &e) ++ }catch(std::exception &e) + { + kernelPrintDbg(DBG_CRIT, "Pdf instance creation failed. cause="<<e.what()); + string what=string("CPdf open failed. reason=")+e.what(); +@@ -2631,7 +2631,7 @@ + try + { + minPos = getNodePosition(*this, newValue, &nodeCountCache); +- }catch(exception &e) ++ }catch(std::exception &e) + { + // position can't be determined + // no special handling is needed, minPos keeps its value +@@ -2690,7 +2690,7 @@ + kernelPrintDbg(DBG_WARN, "page with original position="<<i->first<<" is ambiguous. Invalidating."); + // page position is ambiguous and so it has to be invalidate + i->second->invalidate(); +- }catch(exception & e) ++ }catch(std::exception & e) + { + kernelPrintDbg(DBG_CRIT, "Unexpected error. cause="<<e.what()); + assert(!"Possibly bug."); --- pdfedit-0.4.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090228024613.D8578108839>