Commit graph

65 commits

Author SHA1 Message Date
joerg
a018fdf747 Don't use plain "throw;", it breaks clang -fno-exceptions build. Bump
revision of boost-headers.
2015-01-15 13:01:44 +00:00
fhajny
c88a6a54bb Remove patches that are unnecessary in 1.57.0. Fixes build on SunOS. 2014-12-28 16:57:36 +00:00
adam
413d801fcf Chamges 1.57.0:
Updated Libraries
Any:
RTTI is not required any more (TypeIndex library is used for RTTI emulation)
Fixed 8958

Asio:
Fixed the kqueue reactor so that it works on FreeBSD.
Fixed an issue in the kqueue reactor which resulted in spinning when using serial ports on Mac OS.
Fixed kqueue reactor support for read-only file descriptors.
Fixed a compile error when using the /dev/poll reactor.
Changed the Windows backend to use WSASocketW, as WSASocketA has been deprecated.
Fixed some warnings reported by Visual C++ 2013.
Fixed integer type used in the WinRT version of the byte-order conversion functions.
Changed documentation to indicate that use_future and spawn() are not made available when including the asio.hpp convenience header.
Explicitly marked asio::strand as deprecated. Use asio::io_service::strand instead.

Circular Buffer:
Fixed some warnings and move_if_noexcept from Boost.Move is used

Config:
BOOST_HAS_PRAGMA_DETECT_MISMATCH macro was added

Container:
Added support for initializer_list.
Fixed double destruction bugs in vector and backward expansion capable allocators.

Coroutine:
optionally register stacks with valgrind
10386 MSVC link error in asymmetric_coroutine.hpp: symbol already defined
10536 call to 'begin(...pull_coroutine< R > & c)' is ambiguous

Flyweight:
Added serialization support via Boost Serialization.
flyweight default constructor was made explicit in Boost 1.56, which introduces a regression in some initialization scenarios. The former non-explicit default constructor has been restored

More...
2014-11-07 19:28:38 +00:00
fhajny
9c06797d62 Fix build on SunOS: transform _XOPEN_SOURCE=500 args where needed, and
revert an upstream commit (https://svn.boost.org/trac/boost/ticket/10350).
The latter part deserves a better fix (finish what upstream neglected).
2014-08-18 10:35:13 +00:00
markd
fdd97e18d8 Fix build with gcc 4.5.X
8f111d3126
2014-08-17 00:10:11 +00:00
adam
9073bc07d0 Changes 1.56.0:
Modularization
Boost version control has migrated to a system using git submodules. This shouldn't make too much of a difference to users, although the directory structure is now a bit different.

Parts of some libraries have been moved into different modules, and several new modules have been extracted from existing code. All header paths should remain the same. The new modules are:

Assert:
Customizable assert macros. Maintained by Peter Dimov.
Core:
Core utilities used by other libraries, with minimal dependencies. Maintained by Peter Dimov, Glen Fernandes and Andrey Semashev.
Lexical_Cast:
General literal text conversions, such as an int represented a string, or vice-versa, from Kevlin Henney.
Throw_Exception:
A common infrastructure for throwing exceptions from Boost libraries, from Emil Dotchevski.
Winapi:
Windows API declarations without <windows.h>, for internal Boost use.
New Libraries
Align:
Memory alignment functions, allocators, and adaptors, from Glen Fernandes.
Type_Index:
Runtime/Compile time copyable type info, from Antony Polukhin.
2014-08-13 10:56:35 +00:00
ryoon
1484896e13 Fix build of boost-libs under OpenBSD/amd64 5.5
* Add iconv dependency (fix build)
* Add the patches for OpenBSD
* gcc46 is required under OpenBSD 5.5 at least
2014-05-13 18:48:49 +00:00
wiz
dba3bb0814 Fix "implicit conversion changes signedness" warnings in installed
header files.
Reported as https://svn.boost.org/trac/boost/ticket/9725
Bump boost-headers PKGREVISION.
2014-03-31 08:36:50 +00:00
ryoon
c38c698028 Fix build under NetBSD with GCC 4.8.3 in base.
GCC 4.8.3 does not define _GLIBCXX_HAVE_GTHR_DEFAULT
in /usr/include/g++/bits/c++config.h.
2014-03-16 04:40:25 +00:00
joerg
8866ae7b8c Disable container forward definitions for libc++, it doesn't agree with
the use of inline namespaces.
2014-02-21 20:22:08 +00:00
adam
9569e40874 * Fix building with GCC (PR#48388).
* Build long double math libraries on NetBSD and FreeBSD.
* Removed obsolete patches.
2013-11-20 19:17:55 +00:00
adam
e9dadd7068 Changes 1.55.0:
Support was removed from Config for some very old versions of compilers. The new minimum requirements are:
Digitial Mars 8.41
GCC 3.3
Intel 6.0
Visual C++ 7.1
Other compilers are currently unchanged, but we are considering removing support for some other old compilers. Candidates for removal are:
Metroworks C++ (i.e. codewarrior)
SunPro 5.7 and earlier
Borland C++ Builder 2006 (5.82) and earlier
If you're using any of these, please let us know on the mailing lists. We will take into account any feedback received before making a decision.
2013-11-12 16:49:07 +00:00
joerg
76b25fc76c Fix header to be self-contained. Bump boost-headers. 2013-10-27 20:31:58 +00:00
joerg
f76942e19e Do not disable normal self-configure. This prevents the exception
handling detection from working and clang is more picky about this than
GCC. Bump boost-headers.
2013-04-12 13:34:41 +00:00
adam
c22df1760f Changes 1.53.0:
New Libraries:
Atomic:
C++11-style atomic<>, from Helge Bahmann, maintained by Tim Blechmann.
Coroutine:
Coroutine library, from Oliver Kowalke.
Lockfree:
Lockfree data structures, from Tim Blechmann.
Multiprecision:
Extended precision arithmetic types for floating point, integer and rational arithmetic from John Maddock and Christopher Kormanyos.
Odeint:
Solving ordinary differential equations, from Karsten Ahnert and Mario Mulansky.

News
This release contains a fix for ticket 7743, in Boost.Locale. For more details, see the security notice.

More info http://www.boost.org/users/history/version_1_53_0.html
2013-02-12 21:07:21 +00:00
drochner
857eaa7d5c add patch from upstream to fix insuficcient validation of UTF-8 strings
which is considered a security problem
bump PKGREV for the affected header, didn't check yet where this
header is compiled into
(boost-1.53 is out, just added the patch for a possible pullup)
2013-02-05 18:49:05 +00:00
riz
42d9653a56 Use <sys/endian.h> on BSD systems to determine endianness. Fixes a problem
on NetBSD/arm where boost could not determine the endianness.

(patch has been submitted upstream)
2013-01-24 22:54:49 +00:00
martin
545e05a086 Add missing assembler code for the context library on sparc and sparc64 2013-01-20 09:06:58 +00:00
martin
92b53a56ad More portable patch to fix alignement problem (sizeof(void*) < siezof(time_t)
on 32bit platforms), also reported upstream.
2013-01-17 11:58:00 +00:00
martin
5dfadc4fb4 Patch jam to provide greater alignement on NetBSD/sparc, where time_t (64bit)
requires greater alignement than pointers.
2013-01-16 16:27:23 +00:00
adam
824435713f This patch is not needed any more 2012-11-20 14:57:52 +00:00
jperkin
430537fbe4 Solaris requires _XOPEN_SOURCE=600 and removal of _XOPEN_SOURCE_EXTENDED. 2012-09-20 12:22:27 +00:00
adam
9238400dfa Fix hash_value() issue in boost-1.51.0 2012-08-31 12:20:56 +00:00
adam
6ab41c0425 Changes 1.51.0:
New Libraries
* Context: Context switching library, from Oliver Kowalke.
Updated Libraries
* Algorithm:
- Fixed is_sorted_until ; now matches the c++11 standard behavior on ranges with
  duplicate values.
- Added range support for the rest of the search algorithms.
- unhex now uses Boost.Exception to signal bad input.
* Asio:
- Fixed an incompatibility between ip::tcp::iostream and C++11.
- Decorated GCC attribute names with underscores to prevent interaction with
  user-defined macros.
- Added missing #include <cctype>, needed for some versions of MinGW.
- Changed to use gcc's atomic builtins on ARM CPUs, when available.
- Changed strand destruction to be a no-op, to allow strand objects to be
  destroyed after their associated io_service has been destroyed.
- Added support for some newer versions of glibc which provide the
  epoll_create1() function but always fail with ENOSYS.
- Changed the SSL implementation to throw an exception if SSL engine
  initialisation fails.
- Fixed another regression in buffered_write_stream.
- Implemented various minor performance improvements, primarily targeted at
  Linux x86 and x86-64 platforms.
* Config:
- Deprecated a whole bunch of macros that were c++11 specific, but not named to
  show that they were c++11 specific. Made new macros with better names, and
  paired the old macros with the new ones. Updated the documentation to list
  the deprecated macros.
[more..]
2012-08-27 08:49:08 +00:00
jperkin
a64920e11f Include unistd.h for read() and close()
Fixes build on at least Solaris.
2012-08-02 12:08:41 +00:00
adam
4659dd7b00 Bring 'forach' patches back to life as they are still necessary 2012-07-03 19:46:30 +00:00
adam
d49b8b6594 Changes 1.50:0
New Libraries
* Algorithm: A collection of useful generic algorithms, from Marshall Clow.
  This includes several different searching algorithms, as well as most of the
  new algorithms from the C++11 standard library
* Functional/OverloadedFunction: Overload different functions into a single
  function object, from Lorenzo Caminiti.
* LocalFunction: Program functions locally, within other functions, directly
  within the scope where they are needed, from Lorenzo Caminiti.
* Utility/IdentityType: Wrap types within round parenthesis so they can always
  be passed as macro parameters, from Lorenzo Caminiti.
More http://www.boost.org/users/history/version_1_50_0.html
2012-07-02 07:02:25 +00:00
adam
e25d9cf748 Fix building with Clang 2012-05-01 18:47:01 +00:00
hans
ab7b6327cf Add build fix for build with gcc46.
From https://svn.boost.org/trac/boost/attachment/ticket/4999/fix4999.patch
2012-02-29 16:37:28 +00:00
hans
2195ac7b20 Update boost to 1.49.0
Changes:
New Libraries
* Heap: Priority queue data structures, from Tim Blechmann.

Details: http://www.boost.org/users/history/version_1_49_0.html
2012-02-29 14:22:23 +00:00
hans
b5b80fae20 Upstream build fix for https://svn.boost.org/trac/boost/ticket/6158 2012-02-16 18:24:12 +00:00
adam
fd5759ac98 Fix for boost::foreach, PR#45802 2012-01-09 16:33:13 +00:00
adam
7c0cafdd91 Changes 1.48.0:
New Libraries
* Container: Standard library containers and extensions
* Locale: Provide localization and Unicode handling tools for C++
  Beilis.
* Move: Portable move semantics for C++03 and C++11 compilers

Details: http://www.boost.org/users/history/version_1_48_0.html
2012-01-08 11:35:07 +00:00
tnn
8c18d6fa7f patch-ai: Fix a compile problem with the asio headers on NetBSD.
Upstream bug: https://svn.boost.org/trac/boost/ticket/6098

Bump revision of boost-headers.
2011-11-06 21:54:32 +00:00
jmmv
cb22e89eef Fix build of boost-libs in NetBSD/macppc: 'char' is not signed, so a piece
of code was raising warnings and failing to build.  Changed to use 255 for
error conditions instead of -1, along with unsigned chars unconditionally.
2011-10-14 01:12:06 +00:00
adam
967857908e Changes 1.47.0:
New Libraries
* Chrono: Useful time utilities
* Geometry: Geometry Library
* Phoenix: Define small unnamed function objects at the actual call site, and
  more
* Ratio: Compile time rational arithmetic
More: http://www.boost.org/users/history/version_1_47_0.html
2011-10-11 10:02:07 +00:00
sbd
7691194121 Join patch-ab and patch-af and regen. 2011-10-02 21:23:50 +00:00
sbd
2a34a4c75a Fix the boost-header fenv.h test on linux.
(The incorrectly failing test stops boost-libs from building.)

Bump boost-header PKGREVISION.
2011-10-02 10:20:28 +00:00
adam
a352243f5b Changes 1.46.0:
New Libraries
* Icl: Interval Container Library, interval sets and maps and aggregation of
  associated values, from Joachim Faulhaber.
Updated Libraries
* Array:
  - Added support for cbegin/cend
  - Fixed a problem with the Sun compiler
* Asio:
  - Fixed a problem on older Linux kernels (where epoll is used without timerfd
    support) that prevents timely delivery of deadline_timer handlers, after
    the program has been running for some time
* Bind:
  - make_adaptable now documented
* Concept Check:
  - fixed warnings with self-assignment
* Filesystem:
  - Version 3 of the library is now the default.
  - IBM vacpp: Workaround for compiler bug affecting iterator_facade
  - Verify, clarify, document that <boost/config/user.hpp> can be used to
    specify BOOST_FILESYSTEM_VERSIO
  - Replaced C-style assert with BOOST_ASSERT.
  - Undeprecated unique_path(). Instead, add a note mentioning the workaround
   for lack of thread safety and possible change to cwd. unique_path() is just
   too convenient to deprecate!
  - Cleared several GCC warnings.
  - Changed V2 code to use BOOST_THROW_EXCEPTION.
  - Windows: Fix status() to report non-symlink reparse point correctly.
  - Add symlink_option to recursive_directory_iterator, allowing control over
    recursion into directory symlinks. Note that the default is changed to not
    recurse into directory symlinks.
  - Reference documentation cleanup, including fixing missing and broken links,
    and adding missing functions.
  - Miscellaneous implementation code cleanup.
* Fusion:
  - vector copy constructor now copies sequence members in the same order on different platforms
* Graph:
  - Fixed Graphviz output to work on Visual C++ 7.1.
  - Replaced assert with BOOST_ASSERT.
  - Changed to Boost.Filesystem v3.
More...
2011-02-24 11:05:34 +00:00
adam
015cb6a9fa Changes 1.45.0:
* Fixed a problem on kqueue-based platforms where a deadline_timer
  may never fire if the io_service is running in a background thread
* Fixed a const-correctness issue that prevented valid uses of
  has_service<> from compiling
* Fixed MinGW cross-compilation
* Removed dependency on deprecated Boost.System functions
* Ensured close()/closesocket() failures are correctly propagated
* Added a check for errors returned by
  InitializeCriticalSectionAndSpinCount
* Added support for hardware flow control on QNX
* Always use pselect() on HP-UX, if it is available.
* Ensured handler arguments are passed as lvalues
* Fixed Windows build when thread support is disabled
* Fixed a Windows-specific problem where deadline_timer objects with
  expiry times set more than 5 minutes in the future may never expire
* Fixed the resolver backend on BSD platforms so that an empty service
  name resolves to port number 0, as per the documentation
* Fixed read operations so that they do not accept buffer sequences of
  type const_buffers_1
* Redefined Protocol and id to avoid clashing with Objective-C++ keywords
* Fixed a vector reallocation performance issue that can occur when
  there are many active deadline_timer objects
* Fixed the kqueue backend so that it compiles on NetBSD
* Fixed the socket io_control() implementation on 64-bit Mac OS X and
  BSD platforms
* Fixed a Windows-specific problem where failures from accept() are
  incorrectly treated as successes
* Deprecated the separate compilation header <boost/asio/impl/src.cpp>
  in favour of <boost/asio/impl/src.hpp>
2010-11-26 20:46:59 +00:00
shattered
18e30c0175 https://svn.boost.org/trac/boost/ticket/4794 -- fixes build failure on 4.0
OK by wiz@
2010-11-23 21:23:04 +00:00
adam
3d6d2fbc3c Fix buildling serialization libs 2010-08-28 15:28:23 +00:00
tez
ebf86485ed Cater to compilers too stupid to interpret a bitwise OR in a template
argument as a constant.  From https://svn.boost.org/trac/boost/ticket/4146
This fixes building boost-libs with lang/gcc34.
2010-08-25 22:50:12 +00:00
adam
5375192651 Changes 1.40.0:
* Build System improvements.
* Updated Libraries: Accumulators, Asio, Circular Buffer, Foreach, Function,
  Fusion, Hash, Interprocess, Intrusive, MPL, Program.Options, Proto, Random,
  Serialization, Unordered, Xpressive.

Changes 1.39.0:
* New Libraries: Signals2.
* Updated Libraries: Asio, Flyweight, Foreach, Hash, Interprocess, Intrusive,
  Program.Options, Proto, PtrContainer, Range, Unordered, Xpressive.
* Updated Tools: Boostbook, Quickbook.
2009-10-14 06:40:07 +00:00
tnn
625a49b3e0 patch-aa: don't hard-code /usr/pkg
(probably caused by running mkpatches after pre-configure subst)
2009-09-20 10:29:07 +00:00
jdc
2d113aa18c Add sparc* to the list of architectures where we don't want to try and use
builtins like __sync_fetch_and_add(), when they don't exist.
2009-08-21 15:12:19 +00:00
adam
59009e399c Fixed detection of threads on NetBSD 2009-08-21 14:54:30 +00:00
hasso
a56975d504 Restore some patches removed during last package update to make it compile
again on DragonFly. patch-af is probably merge error from upstream,
patch-aq is a temporary workaround and not for inclusion to upstream as
such.
2009-03-13 07:48:57 +00:00
jmmv
1bb4f73043 Update boost to 1.38.0. Patches from Brook Milligan in private mail.
Lots of changes to list here.  As usual, some new libraries have been
added and there have been improvements all around.  Of special interest
is that we can now erase most of our local patches because they have
been imported upstream.
2009-03-03 08:57:57 +00:00
joerg
63dfb5ba45 Fix build on DragonFly. From PR 39561. 2008-09-17 15:04:21 +00:00