Commit graph

36 commits

Author SHA1 Message Date
minskim
71d1f5843e Make bjam.mk aware of gcc-5.x
Bump PKGREVISION for boost-{headers,libs}.
2016-02-28 23:54:11 +00:00
ryoon
75c9155845 Disable long double math functions for NetBSD and FreeBSD.
Bump PKGREVISION for devel/boost-headers and devel/boost-libs.

This fixes databases/mongodb build.
2016-02-12 14:24:01 +00:00
ryoon
5b3c3ca01f Add workaround for NetBSD 7.99 and 7. Fix converters/librevenge build
Bump PKGREVISION of devel/boost-headers.
2015-12-28 13:52:18 +00:00
adam
c5e52167ae Changes 1.58.0:
* New Libraries:
  - Endian: Types and conversion functions for correct byte ordering and more regardless of processor endianness.
  - Sort: Includes spreadsort, a general-case hybrid radix sort that is faster than O(n*log(n))
* Updated Libraries:
2015-04-17 14:04:47 +00:00
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
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
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
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
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
adam
da54378465 Changes 1.52.0:
http://www.boost.org/users/history/version_1_52_0.html
2012-11-07 21:04:10 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
adam
9238400dfa Fix hash_value() issue in boost-1.51.0 2012-08-31 12:20:56 +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
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
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
822cf32aae Changes 1.14.0:
* New Libraries
  Property Tree: A tree data structure especially suited to storing
  configuration data, from Marcin Kalicinski and Sebastian Redl.
* Updated Libraries
* Build System
  A bug preventing "fat" 32-bit + 64-bit builds on OSX has been fixed.
2009-11-24 09:50:33 +00:00
jmmv
168d41abbc Update boost to 1.36.0. Way too many changes since 1.34 to be listed
here.  Based on patches sent by Brook Milligan through private mail
with some minimal changes by me to fix boost-python and builds on
Mac OS X.  Tested on NetBSD/amd64 current and Tiger.
2008-09-13 16:14:13 +00:00
jmmv
60cf8631c9 Apply patches to fix CVE-2008-0171 in boost-headers and boost-libs.
This is a fix for a possible DoS when using Boost.Regex in an application.

Note that the fix goes into a header, so all applications that use
Boost.Regex may be affected by the problem and need to be rebuilt.
2008-04-28 21:35:25 +00:00
heinz
fdf62217db Added support for installation to DESTDIR. 2008-02-05 22:59:05 +00:00
jmmv
106f6e10a5 Update boost to 1.34.1. This is based on the patches provided by Brook Milligan
in PR pkg/36558.  Committing it right after the freeze so that we have enough
time to resolve the problems that this will surely cause.

New Libraries

    * Foreach Library:
        BOOST_FOREACH macro for easily iterating over the elements of a
        sequence, from Eric Niebler.
    * Statechart Library:
        Arbitrarily complex finite state machines can be implemented in
        easily readable and maintainable C++ code, from Andreas Huber.
    * TR1 Library:
        An implementation of the C++ Technical Report on Standard Library
        Extensions, from John Maddock.
        This library does not itself implement the TR1 components, rather
        it's a thin wrapper that will include your standard library's TR1
        implementation (if it has one), otherwise it will include the Boost
        Library equivalents, and import them into namespace std::tr1. Highlights
        include: Reference Wrappers, Smart Pointers, result_of,
        Function Object Binders, Polymorphic function wrappers, Type Traits,
        Random Number Generators and Distributions, Tuples, Fixed Size Array,
        Hash Function Objects, Regular Expressions and
        Complex Number Additional Algorithms.
    * Typeof Library:
        Typeof operator emulation, from Arkadiy Vertleyb and Peder Holt.
    * Xpressive Library:
        Regular expressions that can be written as strings or as expression
        templates, and that can refer to each other and themselves recursively
        with the power of context-free grammars, from Eric Niebler.

Updated Libraries

    * Assign Library:
          o Support for ptr_map<key,T> via the new function ptr_map_insert()
          o Support for initialization of Pointer Containers when the containers
            hold pointers to an abstract base class.
    * Date_time library:
          o Support for new US/Canada timezone rules and other bug fixes.
            See Change History for details.
    * Filesystem Library:
        Major upgrade in preparation for submission to the C++ Standards Committee
        for TR2. Changes include:
          o Internationalization, provided by class templates basic_path,
            basic_filesystem_error, basic_directory_iterator
            and basic_directory_entry.
          o Simplification of the path interface by eliminating special constructors
            to identify native formats.
          o Rationalization of predicate function design, including the addition of
            several new functions.
          o Clearer specification by reference to POSIX, the ISO/IEEE Single Unix
            Standard, with provisions for Windows and other operating systems.
          o Preservation of existing user code whenever possible.
          o More efficient directory iteration.
          o Addition of a recursive directory iterator.
    * Function Library:
        Boost.Function now implements a small buffer optimization, which can
        drastically improve the performance when copying or constructing
        Boost.Function objects storing small function objects. For instance,
        bind(&X:foo, &x, _1, _2) requires no heap allocation when placed into
        a Boost.Function object.
    * Functional/Hash Library
          o Use declarations for standard classes, so that the library doesn't
            need to include all of their headers
          o Deprecated the <boost/functional/hash/*.hpp> headers.
          o Add support for the BOOST_HASH_NO_EXTENSIONS macro, which disables
            the extensions to TR1
          o Minor improvements to the hash functions for floating point numbers.
    * Graph Library:
          o edmonds_maximum_cardinality_matching, from Aaron Windsor.
          o lengauer_tarjan_dominator_tree, from JongSoo Park.
          o compressed_sparse_row_graph, from Jeremiah Willcock and Douglas Gregor
            of Indiana University.
          o sorted_erdos_renyi_iterator, from Jeremiah Willcock
            of Indiana University.
          o biconnected_components now supports a visitor and named parameters,
            from Janusz Piwowarski.
          o adjacency_matrix now models the Bidirectional Graph concept.
          o dijkstra_shortest_paths now calls vis.initialize_vertex for each
            vertex during initialization.
          o Note: the name of the compiled library for the GraphViz reader has
            changed to boost_graph (from bgl-viz) to match Boost conventions.
          o See the complete revision history for more information.
    * MultiArray Library:
        Boost.MultiArray now by default provides range-checking for operator[].
        Range checking can be disabled by defining the macro BOOST_DISABLE_ASSERTS
        before including multi_array.hpp. A bug in multi_array::resize() related
        to storage orders was fixed.
    * Multi-index Containers Library:
          o New random access indices.
          o Non key-based indices feature new rearrange facilities.
          o This version also includes a number of optimizations and usage
            improvements. For a complete list of changes,
            see the library release notes.
    * Optional Library:
          o boost::none_t and boost::none now added to Optional's documentation
          o Relational operators now directly support arguments of type 'T'
            and 'none_t'
          o operator->() now also works with reference types.
          o Helper functions make_optional(val), make_optional(cond,val)
            and get_optional_value_or(opt,alternative_value) added.
          o Constructor taking a boolean condition (as well as a value) added.
          o Member function get_value_or(alternative_value) added.
          o Incompatbility bug with mpl::apply<> fixed.
          o Converting assignment bug with uninitialized lvalues fixed.
    * Parameter Library:
          o Every ArgumentPack is now a valid MPL Forward Sequence.
          o Support for unnamed arguments (those whose keyword is deduced from
            their types) is added.
          o Support for named and unnamed template arguments is added.
          o New overload generation macros solve the forwarding problem directly.
          o See also the Python library changes, below.
    * Pointer Container Library:
          o Support for serialization via Boost.Serialization.
          o Exceptions can be disabled by defining the macro
            BOOST_PTR_CONTAINER_NO_EXCEPTIONS before including any header.
            This macro is defined by default if BOOST_NO_EXCEPTIONS is defined.
          o Additional std::auto_ptr<T> overloads added s.t. one can also pass
            std::auto_ptr<T> instead of only T* arguments to member functions.
          o transfer() now has weaker requirements s.t. one can transfer objects
            from ptr_container<Derived> to ptr_container<Base>,
    * Python Library:
          o Boost.Python now automatically appends C++ signatures to docstrings.
            The new docstring_options.hpp header is available to control the
            content of docstrings.
          o stl_input_iterator, for turning a Python iterable object into an STL
            input iterator, from Eric Niebler.
          o Support for void* conversions is added.
          o Integrated support for wrapping C++ functions built with the
            parameter library; keyword names are automatically known to
            docsstrings.
          o Enhancements to the API for better embedding support
            (boost::python::import(), boost::python::exec()
             and boost::python::exec_file()).
    * Signals Library:
        More improvements to signal invocation performance from Robert Zeh.
    * Smart Pointers Library:
          o Allocator support as proposed in N1851 (162 Kb PDF).
          o pointer_cast and pointer_to_other utilities to allow
            pointer-independent code, from Ion Gaztanaga.
    * String Algorithm Library:
          o lexicographical_compare
          o join
          o New comparison predicates is_less, is_not_greater.
          o Negative indexes support (like Perl) in various algorihtms
            (*_head/tail, *_nth).
    * Wave Library:
          o Wave now correctly recognizes pp-number tokens as mandated by the
            C++ Standard, which are converted to C++ tokens right before they are
            returned from the library.
          o Several new preprocessing hooks have been added. For a complete
            description please refer to the related documentation page:
            The Context Policy.
          o Shared library (dll) support has been added for the generated Wave
            libraries.
          o The overall error handling has been improved. It is now possible to
            recover and continue after an error or a warning was issued.
          o Support for optional comment and/or full whitespace preservation
            in the generated output stream has been added.
          o The Wave library now performs automatic include guard detection to
            avoid accessing header files more than once, if appropriate.
          o Full interactive mode has been added to the Wave tool. Now the Wave
            tool can be used just like Python or Perl for instance to
            interactively try out your BOOST_PP macros. Additionally it is now
            possible to load and save the current state of an interactive
            session (macro tables et.al.).
          o The overall performance has been improved by upto 40-60%, depending
            on the concrete files to process.
          o Support for new pragmas has been added allowing to control certain
            library features from inside the preprocessed sources (partial
            output redirection, control of generated whitespace and #line
            directives).
          o Optional support for #pragma message "..." has been added.
          o This version also includes a number of bug fixes and usage
            improvements. For a complete list of changes, see the libraries
            change log.
2008-01-04 19:58:39 +00:00
jmmv
1e7904fff6 Fix path to bjam.mk: it now lives inside boost-jam, not boost-build. 2007-06-02 17:51:48 +00:00
jmmv
ca0ef7b853 Disable wide streambuf support under NetBSD-current with gcc4 because it
breaks the build.

OK'ed by wiz@.
2006-07-01 19:38:00 +00:00
jmmv
38913fffe5 Update boost* to 1.33.1:
Any Library: Cast to reference types introduced in 1.33.0 is now documented on
any_cast documentation page.

Config Library: Don't undef BOOST_LIB_TOOLSET after use.

Boost.Python:
* The build now assumes Python 2.4 by default, rather than 2.2
* Support Python that's built without Unicode support
* Support for wrapping classes with overloaded address-of (&) operators

Smart Pointer Library: Fixed problems under Metrowerks CodeWarrior on PowerPC
(Mac OS X) with inlining on, GNU GCC on PowerPC 64.

Regex Library: Fixed the supplied makefiles, and other small compiler specific
changes. Refer to the regex history page for more information on these and
other small changes.

Iostreams Library: Improved the interface for accessing a chain's components,
added is_open members to the file and file descriptor devices, fixed
memory-mapped files on Windows, and made minor changes to the documentation.

Functional/Hash Library: Fixed the points example.

Multi-index Containers Library: Fixed a problem with multithreaded code, and
other minor changes. Refer to the library release notes for further details.

Graph Library:
* Fixed a problem with the relaxed heap on x86 Linux (fixes bug in
  dijkstra_shortest_paths).
* Fixed problems with cuthill_mckee_ordering and king_ordering producing no
  results.
* Added color_map parameter to dijkstra_shortest_paths.

Signals Library: Fixed problems with the use of Signals across shared library
boundaries.

Thread library: read_write_mutex has been removed due to problems with
deadlocks.  Wave library (V1.2.1) Fixed a couple of problems, refer to the
change log for further details.
2006-01-20 20:40:18 +00:00
joerg
3fa608eeb8 Fix build of boost on DragonFly.
(a) bjam should be consistent with the rest of the world, the OS is
called DragonFly, not DragonFlyBSD. It might be _annoying_, but it is
a fact of live and no spelling fault can avoid it.
(b) disable the compiler thread support checks, they don't really work
and are not needed anyway.
(c) DragonFly has wchar and ctype functions, so use them.

Bump revisions of boost-build (bjam), boost-headers (well, they changed)
and boost-libs.
2006-01-12 22:48:46 +00:00
wiz
9e9421938b Replace NO_BUILD with empty do-build target. 2005-04-05 11:09:00 +00:00
jmmv
b5667fd740 Some more pthread fixes: set PTHREAD_OPTS+=require and include the pthread
buildlink file in buildlink3.mk.  From tv@.
2005-02-27 21:57:53 +00:00
jmmv
4aca7c7930 Include pthread.buildlink3.mk; it's needed during the configure stage.
Pointed out by tv@.
2005-02-27 17:40:10 +00:00
jmmv
09753597b2 Complete rework of the Boost packages:
- Drop devel/boost and devel/boost-thread.
- Add devel/boost-docs which includes all the documentation related to Boost
  (previously included in devel/boost).
- Add devel/boost-build which includes bjam, the Boost.Build framework.
- Add devel/boost-headers which includes all the header files needed at build
  time by programs using Boost (previously included in devel/boost).
- Add devel/boost-libs which includes all the binary libraries needed at build
  and run time by programs using Boost (previously included in devel/boost and
  devel/thread).  All of them are multithreaded, to make things easier.
- devel/boost-python includes the Boost Python library (as it did before), but
  now works, given that everything is threaded again.
- Drop our thread_user.hpp customization.  Avoids some build failures that
  appeared when the previous boost-thread package was not installed.
- Use static PLISTs.
- Install unversioned files.  Makes things *a lot* easier when building stuff
  outside pkgsrc.
- Add meta-pkgs/boost, a meta package that depends on all of the above.

Thanks go to jlam@ and tv@ for their comments.

While here, update to 1.32.0:

New Toolset Names

The names of some the Boost.Build toolsets have been changed to remove the "."
(dot) character and to fix some other naming inconsistencies. For example,
vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported
Toolsets section of the installation guide for the complete list of the current
toolset names. This change was made as a part of the effort to make the Boost
distribution compatible with ISO 9660 level 2 requirements.

New Libraries

    * Assignment Library: Filling containers with constant or generated data
      has never been easier, from Thorsten Ottosen.
    * Minmax Library: Standard library extensions for simultaneous min/max and
      min/max element computations, from Hervé Brönnimann.
    * Multi-index Containers Library: Containers with multiple STL-compatible
      access interfaces, from Joaquín M López Muñoz.
    * Numeric Conversion Library: Optimized policy-based numeric conversions,
      from Fernando Cacciola.
    * Program Options Library: Access to configuration data given on command
      line, in config files and other sources, from Vladimir Prus.
    * Range Library: A new infrastructure for generic algorithms that builds
      on top of the new iterator concepts, from Thorsten Ottosen.
    * Serialization Library: Serialization/de-serialization of arbitrary C++
      data structures to various formats including text, binary, and xml, from
      Robert Ramey.
    * String Algorithms Library: Collection of string related algorithms for
      case conversion, trimming, find/replace operations and more, from Pavol
      Droba.
    * Tribool: 3-state boolean type library, from Doug Gregor.

Updated Libraries

    * Compose: This deprecated library has been removed.
    * Graph:
          o Added bundled properties to the adjacency_list and adjacency_matrix
            class templates, greatly simplifying the introduction of internal
            vertex and edge properties.
          o The LEDA graph adaptors have been ported to LEDA 4.5.
          o Added algorithms for betweenness centrality and betweenness
            centrality clustering.
          o Added circle layout and undirected spring layout algorithms.
    * MPL Library:
          o Updated to use the Boost Software License.
          o New documentation, including a complete reference manual.
          o Major interface changes and improvements, many of which are not
            backward compatible. Please refer to the 1.32 changelog for the
            detailed information about upgrading to the new version.
    * Python Library:
          o Updated to use the Boost Software License.
          o A new, better method of wrapping classes with virtual functions
            has been implemented.
          o Support for the new Python Bool type, thanks to Daniel Holth.
          o Support for upcoming GCC symbol export control features have been
            folded in, thanks to Niall Douglas.
          o Improved support for std::auto_ptr-like types.
          o Components used by other libraries have been moved out of
            python/detail and into boost/detail to improve dependency
            relationships.
          o Miscellaneous bug fixes and compiler workarounds.
    * Signals Library: Introduced deterministic slot ordering, permitting
      slots to be connected at the beginning or end of slot groups or the slot
      list itself. Combiners may safely have state and are accessible from the
      signal.
    * Utility: class template result_of added.
    * Test Library:
          o namespace names gets shorten; old one still supported till next
            release
          o added proper encoding of XML PCDATA
          o support for wide string comparison implemented
      For complete list of changes see Test Library release notes.

Regression tests

This release has been extensively tested on a variety of different compilers
and platforms. It is known to contain no regressions against the previous
reference release on the compilers and configurations tested. Please refer to
the corresponding regression reports to see how well your compiler performs on
the new Boost codebase.
2005-02-26 22:48:34 +00:00