Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 15:39:10 +0200 (CEST)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        churanov.port.maintainer@gmail.com
Subject:   ports/169806: [PATCH] devel/boost-libs: fix interprocess communication
Message-ID:  <20120712133910.8CDCEDF0A@neo.vx.sk>
Resent-Message-ID: <201207121350.q6CDo27d054244@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169806
>Category:       ports
>Synopsis:       [PATCH] devel/boost-libs: fix interprocess communication
>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:   Thu Jul 12 13:50:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 9.0-STABLE FreeBSD 9.0-STABLE #6 r237147M: Sat Jun 16 01:05:38 CEST
>Description:
Add upstream patch to fix interprocess communication.

References:
https://svn.boost.org/trac/boost/ticket/6134

Fixed in upstream SVN revision:	76181

Added file(s):
- files/patch-boost-interprocess-shared_memory_object.hpp

Port maintainer (churanov.port.maintainer@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- boost-libs-1.48.0.patch begins here ---
Index: files/patch-boost-interprocess-shared_memory_object.hpp
===================================================================
RCS file: files/patch-boost-interprocess-shared_memory_object.hpp
diff -N files/patch-boost-interprocess-shared_memory_object.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-boost-interprocess-shared_memory_object.hpp	12 Jul 2012 13:38:08 -0000
@@ -0,0 +1,37 @@
+--- boost/interprocess/shared_memory_object.hpp.orig	2012-07-12 15:27:30.607506166 +0200
++++ boost/interprocess/shared_memory_object.hpp	2012-07-12 15:30:22.481507868 +0200
+@@ -1,6 +1,6 @@
+ //////////////////////////////////////////////////////////////////////////////
+ //
+-// (C) Copyright Ion Gaztanaga 2005-2009. Distributed under the Boost
++// (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost
+ // Software License, Version 1.0. (See accompanying file
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ //
+@@ -251,7 +251,7 @@
+ 
+ #if defined(__FreeBSD__)
+ 
+-inline bool use_filesistem_based_posix()
++inline bool use_filesystem_based_posix()
+ {
+    int jailed = 0;
+    std::size_t len = sizeof(jailed);
+@@ -275,7 +275,7 @@
+    #if defined(BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
+    const bool add_leading_slash = false;
+    #elif defined(BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
+-   const bool add_leading_slash = !shared_memory_object_ipcdetail::use_filesistem_based_posix();
++   const bool add_leading_slash = !shared_memory_object_detail::use_filesystem_based_posix();
+    #else
+    const bool add_leading_slash = true;
+    #endif
+@@ -361,7 +361,7 @@
+       #if defined(BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
+       const bool add_leading_slash = false;
+       #elif defined(BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
+-      const bool add_leading_slash = !shared_memory_object_ipcdetail::use_filesistem_based_posix();
++      const bool add_leading_slash = !shared_memory_object_detail::use_filesystem_based_posix();
+       #else
+       const bool add_leading_slash = true;
+       #endif
--- boost-libs-1.48.0.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?20120712133910.8CDCEDF0A>