aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-07-14 04:09:11 +0800
committerrm <rm@FreeBSD.org>2012-07-14 04:09:11 +0800
commit2dca3f89da690bf17386b6c200382c84a2c9eb64 (patch)
treeecc13407517a1042c175532bef3e4c233986d04c /devel
parentf2da0b1423e19a679f4af09017911c84b381ab15 (diff)
downloadfreebsd-ports-gnome-2dca3f89da690bf17386b6c200382c84a2c9eb64.tar.gz
freebsd-ports-gnome-2dca3f89da690bf17386b6c200382c84a2c9eb64.tar.zst
freebsd-ports-gnome-2dca3f89da690bf17386b6c200382c84a2c9eb64.zip
- fix packaging when WITH_ICU is off [1]
- fix applications hanging issue (deluge and qbittorrent at least) [2] - fix interprocess communication (upstream svn revision 76181) [3] - bump PORTREVISION PR: 168661 [1] PR: 169755 [2] PR: 169806 [3] Submitted by: Alexey Markov <redrat at mail dot ru> [1], Mario Lobo <lobo@bsd.com.br> [2], Martin Matuska <mm at FreeBSD dot org> [3] Approved by: maintainer timeout (1 month)
Diffstat (limited to 'devel')
-rw-r--r--devel/boost-all/common.mk1
-rw-r--r--devel/boost-libs/Makefile5
-rw-r--r--devel/boost-libs/files/patch-boost-interprocess-shared_memory_object.hpp37
-rw-r--r--devel/boost-libs/files/patch-boost_asio-ioctl18
4 files changed, 54 insertions, 7 deletions
diff --git a/devel/boost-all/common.mk b/devel/boost-all/common.mk
index 1b014201329a..8b64e0e57e21 100644
--- a/devel/boost-all/common.mk
+++ b/devel/boost-all/common.mk
@@ -1,5 +1,6 @@
PORTVERSION= 1.48.0
+PORTREVISION= 1
PORTVERSUFFIX= ${PORTVERSION:C/\.[0-9]+$//}
DISTNAME= boost_${PORTVERSION:S/./_/g}
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index e37832c6d573..8b0632e13594 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -26,9 +26,12 @@ BOOST_LIBS= date_time filesystem graph iostreams\
.include "${PORTSDIR}/devel/boost-all/common.mk"
.include "${PORTSDIR}/devel/boost-all/compiled.mk"
-.if defined (WITH_ICU)
+.if defined(WITH_ICU)
LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu
BJAM_OPTIONS+= -sICU_PATH=${LOCALBASE}
+.else
+USE_ICONV= yes
+BJAM_OPTIONS+= -sICONV_PATH=${LOCALBASE}
.endif
.if ${ARCH} == "sparc64"
diff --git a/devel/boost-libs/files/patch-boost-interprocess-shared_memory_object.hpp b/devel/boost-libs/files/patch-boost-interprocess-shared_memory_object.hpp
new file mode 100644
index 000000000000..7e4f792dfb13
--- /dev/null
+++ b/devel/boost-libs/files/patch-boost-interprocess-shared_memory_object.hpp
@@ -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 \ No newline at end of file
diff --git a/devel/boost-libs/files/patch-boost_asio-ioctl b/devel/boost-libs/files/patch-boost_asio-ioctl
index 0edf91fb60e4..2422f44875af 100644
--- a/devel/boost-libs/files/patch-boost_asio-ioctl
+++ b/devel/boost-libs/files/patch-boost_asio-ioctl
@@ -1,23 +1,29 @@
---- boost/asio/detail/io_control.hpp.orig 2010-12-06 01:32:39.000000000 +0300
-+++ boost/asio/detail/io_control.hpp 2010-12-06 01:37:34.000000000 +0300
-@@ -44,7 +44,7 @@
+--- boost/asio/detail/io_control.hpp.orig 2011-06-06 03:21:43.000000000 +0400
++++ boost/asio/detail/io_control.hpp 2012-07-10 13:24:45.000000000 +0400
+@@ -44,9 +44,9 @@
}
// Get the name of the IO control command.
- int name() const
+ ioctl_cmd_type name() const
{
- return FIONBIO;
+- return static_cast<int>(FIONBIO);
++ return static_cast<ioctl_cmd_type>(FIONBIO);
}
-@@ -94,7 +94,7 @@
+
+ // Set the value of the I/O control command.
+@@ -94,9 +94,9 @@
}
// Get the name of the IO control command.
- int name() const
+ ioctl_cmd_type name() const
{
- return FIONREAD;
+- return static_cast<int>(FIONREAD);
++ return static_cast<ioctl_cmd_type>(FIONREAD);
}
+
+ // Set the value of the I/O control command.
--- boost/asio/detail/descriptor_ops.hpp.orig 2010-12-06 01:55:08.000000000 +0300
+++ boost/asio/detail/descriptor_ops.hpp 2010-12-06 01:55:39.000000000 +0300
@@ -79,7 +79,7 @@