From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 25 03:40:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C54CB1065670 for ; Wed, 25 Mar 2009 03:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAF58FC16 for ; Wed, 25 Mar 2009 03:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2P3e5fj048998 for ; Wed, 25 Mar 2009 03:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2P3e5Hj048997; Wed, 25 Mar 2009 03:40:05 GMT (envelope-from gnats) Resent-Date: Wed, 25 Mar 2009 03:40:05 GMT Resent-Message-Id: <200903250340.n2P3e5Hj048997@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C00B10656BC for ; Wed, 25 Mar 2009 03:31:13 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id CF18A8FC12 for ; Wed, 25 Mar 2009 03:31:12 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LmJpg-0005EW-H4 for FreeBSD-gnats-submit@freebsd.org; Wed, 25 Mar 2009 06:31:12 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id F29A7A8C5 for ; Wed, 25 Mar 2009 06:29:22 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 407E110883C; Wed, 25 Mar 2009 06:30:02 +0300 (MSK) Message-Id: <20090325033002.407E110883C@hades.panopticon> Date: Wed, 25 Mar 2009 06:30:02 +0300 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/133040: [PATCH] print/lyx15: prepare for upcoming boost 1.37.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 03:40:06 -0000 >Number: 133040 >Category: ports >Synopsis: [PATCH] print/lyx15: prepare for upcoming boost 1.37.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 25 03:40:04 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: Sat Mar 21 18:50:30 MSK 2009 >Description: Prepare for upcoming boost 1.37.0. This patch probably breaks the port with current boost, so this is to be committed with boost update Added file(s): - files/patch-src-support-fs_extras.cpp Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- lyx-1.5.7.patch begins here --- Index: files/patch-src-support-fs_extras.cpp =================================================================== RCS file: files/patch-src-support-fs_extras.cpp diff -N files/patch-src-support-fs_extras.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-support-fs_extras.cpp 23 Mar 2009 14:42:12 -0000 @@ -0,0 +1,54 @@ +--- src/support/fs_extras.cpp.orig 2007-05-29 02:27:45.000000000 +0400 ++++ src/support/fs_extras.cpp 2009-03-23 17:40:47.000000000 +0300 +@@ -97,10 +97,10 @@ + int const infile = ::open(source.string().c_str(), O_RDONLY); + if (infile == -1) { + boost::throw_exception( +- filesystem_path_error( ++ basic_filesystem_error( + "boost::filesystem::copy_file", + source, target, +- fs::lookup_errno(errno))); ++ boost::system::error_code(errno, boost::system::get_system_category()))); + } + + struct stat source_stat; +@@ -108,10 +108,10 @@ + if (ret == -1) { + int err = errno; + ::close(infile); +- boost::throw_exception(filesystem_path_error( ++ boost::throw_exception(basic_filesystem_error( + "boost::filesystem::copy_file", + source, target, +- fs::lookup_errno(err))); ++ boost::system::error_code(err, boost::system::get_system_category()))); + } + + int const flags = O_WRONLY | O_CREAT | (noclobber ? O_EXCL : O_TRUNC); +@@ -121,10 +121,10 @@ + int err = errno; + ::close(infile); + boost::throw_exception( +- filesystem_path_error( ++ basic_filesystem_error( + "boost::filesystem::copy_file", + source, target, +- fs::lookup_errno(err))); ++ boost::system::error_code(err, boost::system::get_system_category()))); + } + + std::size_t const buf_sz = 32768; +@@ -153,10 +153,10 @@ + + if (in == -1 || out == -1) + boost::throw_exception( +- filesystem_path_error( ++ basic_filesystem_error( + "boost::filesystem::copy_file", + source, target, +- fs::lookup_errno(err))); ++ boost::system::error_code(err, boost::system::get_system_category()))); + #endif + #ifdef BOOST_WINDOWS + if (::CopyFile(source.string().c_str(), target.string().c_str(), noclobber) == 0) { --- lyx-1.5.7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: