boost/python_numpy_retfunc.patch
Adam Majer e1c5a89560 Accepting request 489639 from home:adamm:branches:devel:libraries:c_c++
- New upstream version 1.64.0
  + process - new library providing cross platform methods to
    - create child processes
    - setup stream for child processes
    - sync and async communication streams with children
    - sync and async wait
    - process termination
  + geometry library had some breaking changes,
    - ublas_transformer is renamed to matrix_transformer
    - explicit modifier is added to constructors of rtree
      index::dynamic_* parameters
    - strategy::area::huiller replaced by strategy::area::spherical
  + context library updates
    - deprecated API:execution-context
    - fixed bad assembly for fcontext on ppc64/sysv/elf
  + Updated libraries: any, atomic, config, container, context,
    conversion, core, coroutine2, fiber, hash, interprocess,
    intrusive, lexicalcast, math, multi-index containers,
    multiprecision, predef, program options, regex, smart pointers,
    test ,typeindex, typetraits, unordered, variant
  + for details, see 
    http://www.boost.org/users/history/version_1_64_0.html
- Build PyNumpy module
  + add build requires on python-numpy
- test_lowcase.patch: upstreamed
- refreshed patches: boost-strict_aliasing.patch, gcc_path.patch,
  python_mpi.patch
- mpi_upstream.patch: pending upstream fixes to OpenMPI build
- python_library_name.patch: we are building python versions in
  different stagings so drop library renames.

OBS-URL: https://build.opensuse.org/request/show/489639
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=194
2017-04-21 12:48:16 +00:00

23 lines
777 B
Diff

Author: Adam Majer <amajer@suse.de>
Date: Tue Apr 4 10:18:49 CEST 2017
Summary: rpmlint fixes?
After build, the following errors were returned.
[ 110s] libs/python/src/numpy/numpy.cpp: In function 'void* boost::python::numpy::wrap_import_array()':
[ 110s] libs/python/src/numpy/numpy.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
[ 110s] }
Index: boost_1_64_0/libs/python/src/numpy/numpy.cpp
===================================================================
--- boost_1_64_0.orig/libs/python/src/numpy/numpy.cpp
+++ boost_1_64_0/libs/python/src/numpy/numpy.cpp
@@ -19,6 +19,7 @@ static void wrap_import_array()
static void * wrap_import_array()
{
import_array();
+ return NULL; // import_array no longer auto-returns?
}
#endif