diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 42252 -> 42255 bytes | |||
-rw-r--r-- | sci-libs/adolc/Manifest | 9 | ||||
-rw-r--r-- | sci-libs/adolc/adolc-2.7.2.ebuild | 12 | ||||
-rw-r--r-- | sci-libs/adolc/adolc-9999.ebuild | 17 | ||||
-rw-r--r-- | sci-libs/adolc/files/adolc-2.5.0-no-colpack.patch | 57 | ||||
-rw-r--r-- | sci-libs/adolc/files/adolc-2.5.0-pkgconfig-no-ldflags.patch | 9 | ||||
-rw-r--r-- | sci-libs/adolc/files/adolc-2.6.2-dash.patch | 146 | ||||
-rw-r--r-- | sci-libs/adolc/files/adolc-2.7.2-swig-python-configure.patch | 391 | ||||
-rw-r--r-- | sci-libs/coinor-os/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/coinor-os/coinor-os-2.10.1.ebuild | 14 | ||||
-rw-r--r-- | sci-libs/libqalculate/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libqalculate/libqalculate-3.20.1-r1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/symengine/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch | 19 | ||||
-rw-r--r-- | sci-libs/symengine/symengine-0.7.0.ebuild | 1 |
15 files changed, 57 insertions, 627 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex d8e4f96fb477..2cc9c8590375 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/adolc/Manifest b/sci-libs/adolc/Manifest index 753eec8caa44..5d83ba789f67 100644 --- a/sci-libs/adolc/Manifest +++ b/sci-libs/adolc/Manifest @@ -1,8 +1,5 @@ -AUX adolc-2.5.0-no-colpack.patch 1424 BLAKE2B ea11eed8f816daaa9809b8f6a6f20e87a22acbf2d210f60000b93635f68d5f362530bac5a46c173ffbd33aec31769c6e5dadf9f638779bbdc0e17483b1a0f5c4 SHA512 826023e0066620a1885a462c31cb5be80d880f917df26c007564e327b8be8513621e56b601b6f9bfcec0fc617a15eea5016436aa08bebb0346254089a5d850ec -AUX adolc-2.5.0-pkgconfig-no-ldflags.patch 364 BLAKE2B a35ab92ca491110c390a4d0f90c7cb12f417891762571ec91ce64fb81d84c4a7e3249971302e3801f721e7791725e37e3f4d241160ec80c5c633af096cad9107 SHA512 914bd01428fc07f50985afc076722778029835048883eade3730878c2d103cd29c288656d524ad3895416e94b50b5db2f53e35fdab0ed2a0f364669bf304af41 -AUX adolc-2.6.2-dash.patch 4516 BLAKE2B 8db052472bd3051ed0b8b1a180aac4098862695cefeed0f0f94600d447b2ef5b888ba072613ea101ac1435569eb9d5bcba1aa64b23a0bc7cf01a4ef20d3f760b SHA512 9b904d8c0ab3c286af27b293b5ffe516b9c1da53169702f94a9213496b6626e1a587e8ab8d9d25b983872c1a97620a8d5386d9053ba1a4c973ef5e145f655bc5 -AUX adolc-2.7.2-swig-python-configure.patch 15544 BLAKE2B 83a31d310e6ae4245085af960ef8440983defd75fa04fac63c24171640886c17a093f44a868c397db8f4189db61f523aa98b75bcab2238ab4931d6b94290f5c7 SHA512 661c4a939d58b7593dc4fbce5874c4e0e918ea54ca1163ae2984aeef528fe4a2c67128070d4f6fc3e33aab2d1e7b7d5e2ae244cea34111c69c72478e5949755f +DIST adolc-2.7.2-patches.tar.bz2 6227 BLAKE2B 6ed9ca3c3128233308b6f4a57d839ac668a031a4d48e612b79929541b496dff67e463197c3c5233bda459fba17422827df6c81fba986ea7fe2affbee2cb8cbf0 SHA512 b468753efbde773c5c7d7f0211abee049193d9b64405ae57a4a902a93a4c06e4f205f531aeee9f30d7dddef19243e1a76b77a8e8727d8e36ee3867f5990e2fbb DIST adolc-2.7.2.tar.gz 2447479 BLAKE2B 0f871ce1dcb50bb14684e45e265cf45807f514dd3ca0dbaaedede2c7117d34cc5a34b0096a34c8ec37023e50aec7fd4be6561819d6297771e7f7fcaa7ba0e507 SHA512 b896650077367fd7388a6c5a40e5d8bb3f19af9e3bc5b067fd1d9a769809b77ccdfb5ef11ef481ab791c0f040401aaed0053cba55d4c2a3383c0d056122280f6 -EBUILD adolc-2.7.2.ebuild 1613 BLAKE2B 71c11d6a6f78075579e2d9ef292db161a0a84ba852684cc488702e99c300a3145f2ee6e66ff3960b159db976912a4367255a06ab93819d3ec7d9d986c691e8b1 SHA512 4fb9f21c7266211c6ca18bc2b8bfce56b61605b65d26711ffa8bf1c925bcec7b5d98d919740d47f230fbf536c133e6c5516c2cf6641385c515abf3ce7a5ba817 -EBUILD adolc-9999.ebuild 1395 BLAKE2B 3b2710b10396198d359317d216ef5c96d9f5d5d4a4c441feb6fa78f58f4486c279f3535f44c0a4c53d526fd21fb4a4fba74629b17de7e4b71e0bed263b9e9d59 SHA512 73c8e2de97ce8572e2a4d51ee60f9c6413bd373d2156812ac902c964260ec3de34129526dda755acdf6f082ce357b75eb3fa2b0b80b76db5588539e2076a477b +EBUILD adolc-2.7.2.ebuild 1798 BLAKE2B d863139bc0dd8324c222a424c320717359195bf0fe600b2a5ac6b0a2846556133cb3b66778d2fc217a2397afb49b0df3534c60023b4018e6a56b61557a4708ae SHA512 b713039c908874d821da601a63252f12c7721da711d4aacbcf6b7bf6c309f4cbef13a5028deca85b49f10419f4c562ddeb72f0cdf704ce647ba98f45c2d1b384 +EBUILD adolc-9999.ebuild 1625 BLAKE2B 41ae54bbfb6934c626b15bdfba17604c8f705ad64f078a9e084050fe5e314b0135b640871f6f50ccefabd740077a2458d869a45c084ec5e5855aed1d41b328f8 SHA512 b2c55ed1919d6dae5deca1f5db84e72bfd2c12a8d42583923d50e86bb421e29b805fd889814975134fcb2e5ba0f0ca7377b6ba68300c207702eca9242e9dbb7b MISC metadata.xml 736 BLAKE2B ddc9935966f95c209568fca01f222894812328b0411a75ee3ff369220860c274d52280c39f916dfdf9fd30ee3a67134a1bdab19feba1bf35b0e2695fa4577a97 SHA512 00cb5d1b587dc4220507a52f2e979fbbeed9035e59e1de26781e33b16d6a16474ad4aeae45ea7a1b8de9193fbe0671ffdd19a07431c33e22ff5586c7216b0522 diff --git a/sci-libs/adolc/adolc-2.7.2.ebuild b/sci-libs/adolc/adolc-2.7.2.ebuild index 0f101d7e1fbb..009ee6a78ed3 100644 --- a/sci-libs/adolc/adolc-2.7.2.ebuild +++ b/sci-libs/adolc/adolc-2.7.2.ebuild @@ -13,6 +13,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/coin-or/ADOL-C" else SRC_URI="https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7.2-patches.tar.bz2" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/ADOL-C-releases-${PV}" fi @@ -28,10 +29,10 @@ RDEPEND=" DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-2.5.0-no-colpack.patch - "${FILESDIR}"/${PN}-2.5.0-pkgconfig-no-ldflags.patch - "${FILESDIR}"/${PN}-2.6.2-dash.patch - "${FILESDIR}"/${P}-swig-python-configure.patch + "${WORKDIR}"/${PN}-2.5.0-no-colpack.patch + "${WORKDIR}"/${PN}-2.5.0-pkgconfig-no-ldflags.patch + "${WORKDIR}"/${PN}-2.6.2-dash.patch + "${WORKDIR}"/${P}-swig-python-configure.patch ) src_prepare() { @@ -44,7 +45,8 @@ src_configure() { # needs work. Revisit with >=2.7.3. # https://bugs.gentoo.org/730750 # https://github.com/coin-or/ADOL-C/issues/20 - econf \ + # Can drop CONFIG_SHELL once fixed up dash/bashisms patch + CONFIG_SHELL="${BROOT}/bin/bash" econf \ --disable-python \ --disable-static \ --enable-advanced-branching \ diff --git a/sci-libs/adolc/adolc-9999.ebuild b/sci-libs/adolc/adolc-9999.ebuild index eeaa03bdcee1..b4eaac107e7c 100644 --- a/sci-libs/adolc/adolc-9999.ebuild +++ b/sci-libs/adolc/adolc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,6 +11,7 @@ HOMEPAGE="https://projects.coin-or.org/ADOL-C/" if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/coin-or/ADOL-C" + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7.2-patches.tar.bz2" else SRC_URI="https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" @@ -28,18 +29,24 @@ RDEPEND=" DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-2.5.0-no-colpack.patch - "${FILESDIR}"/${PN}-2.5.0-pkgconfig-no-ldflags.patch - "${FILESDIR}"/${PN}-2.6.2-dash.patch + "${WORKDIR}"/${PN}-2.5.0-no-colpack.patch + "${WORKDIR}"/${PN}-2.5.0-pkgconfig-no-ldflags.patch + "${WORKDIR}"/${PN}-2.6.2-dash.patch ) +src_unpack() { + git-r3_src_unpack + default +} + src_prepare() { default eautoreconf } src_configure() { - econf \ + # Can drop CONFIG_SHELL once fixed up dash/bashisms patch + CONFIG_SHELL="${BROOT}/bin/bash" econf \ --disable-python \ --disable-static \ --enable-advanced-branching \ diff --git a/sci-libs/adolc/files/adolc-2.5.0-no-colpack.patch b/sci-libs/adolc/files/adolc-2.5.0-no-colpack.patch deleted file mode 100644 index 779890c8cf2b..000000000000 --- a/sci-libs/adolc/files/adolc-2.5.0-no-colpack.patch +++ /dev/null @@ -1,57 +0,0 @@ - autoconf/colpack.m4 | 23 +++++++++++++---------- - 1 file changed, 13 insertions(+), 10 deletions(-) - -diff --git a/autoconf/colpack.m4 b/autoconf/colpack.m4 -index 9792786..bd4ba5e 100644 ---- a/autoconf/colpack.m4 -+++ b/autoconf/colpack.m4 -@@ -8,20 +8,20 @@ AC_ARG_WITH(colpack, - AS_HELP_STRING([--with-colpack=DIR],[path to the colpack library and headers [default=system libraries]])], - [ - colpack=$withval --COLPACK_CFLAGS="-I$colpack/include" --if test x${_lib} != xlib ; then -- D[[0]]="$colpack/${_lib}" -- D[[1]]="$colpack/lib" --else -- D[[0]]="$colpack/${_lib}" --fi - ], - [ - COLPACK_CFLAGS="" - COLPACK_LIBS="-lColPack" - D[[0]]="" - ]) -- -+if test x$colpack != xno; then -+COLPACK_CFLAGS="-I$colpack/include" -+if test x${_lib} != xlib ; then -+ D[[0]]="$colpack/${_lib}" -+ D[[1]]="$colpack/lib" -+else -+ D[[0]]="$colpack/${_lib}" -+fi - AC_LANG_PUSH([C++]) - save_CXXFLAGS="$CXXFLAGS" - save_CPPFLAGS="$CPPFLAGS" -@@ -33,8 +33,8 @@ have_colpackheaders=no - CPPFLAGS="$save_CPPFLAGS" - CXXFLAGS="$save_CXXFLAGS" - ]) --for ((i=0; i < ${#D[@]} ; i++)); do --COLPACK_LIBDIR="${D[[$i]]}" -+for i in ${D[@]}; do -+COLPACK_LIBDIR="${i}" - if test -n "$COLPACK_LIBDIR" ; then - COLPACK_LIBS="-L$COLPACK_LIBDIR -lColPack -Wl,-rpath,$COLPACK_LIBDIR" - fi -@@ -56,6 +56,9 @@ else - fi - done - AC_LANG_POP([C++]) -+else -+ have_colpack=no -+fi - - AM_CONDITIONAL(HAVE_LIBCOLPACK,[test x$have_colpack = xyes]) - if test x$have_colpack = xyes; then diff --git a/sci-libs/adolc/files/adolc-2.5.0-pkgconfig-no-ldflags.patch b/sci-libs/adolc/files/adolc-2.5.0-pkgconfig-no-ldflags.patch deleted file mode 100644 index 258f835ca9e8..000000000000 --- a/sci-libs/adolc/files/adolc-2.5.0-pkgconfig-no-ldflags.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/adolclib.pc.in 2014-05-21 09:09:10.060824555 -0700 -+++ b/adolclib.pc.in 2014-05-21 09:09:10.060824555 -0700 -@@ -7,5 +7,5 @@ - Version: @PACKAGE_VERSION@ - Description: Algorithmic Differentiation Library for C/C++ - Requires: --Libs: -L${libdir} -l@adolclib@ -Wl,-rpath,${libdir} @LDFLAGS@ @LIBS@ -+Libs: -L${libdir} -l@adolclib@ @LIBS@ - Cflags: -I${includedir} diff --git a/sci-libs/adolc/files/adolc-2.6.2-dash.patch b/sci-libs/adolc/files/adolc-2.6.2-dash.patch deleted file mode 100644 index b8d4fe5ad64d..000000000000 --- a/sci-libs/adolc/files/adolc-2.6.2-dash.patch +++ /dev/null @@ -1,146 +0,0 @@ ---- a/configure.ac 2016-08-31 12:49:35.000000000 +0000 -+++ b/configure.ac 2017-03-04 00:58:02.354372332 +0000 -@@ -29,12 +29,12 @@ - - adolclib=adolc - --if test "x$CFLAGS" == x ; then -+if test "x$CFLAGS" = x ; then - ac_shell_cflags="not_set" - else - ac_shell_cflags="$CFLAGS" - fi --if test "x$CXXFLAGS" == x ; then -+if test "x$CXXFLAGS" = x ; then - ac_shell_cxxflags="not_set" - else - ac_shell_cxxflags="$CXXFLAGS" -@@ -231,12 +231,12 @@ - AC_MSG_RESULT(no) - ]) - --if test x$adolc_harddebug == xyes ; then -+if test x$adolc_harddebug = xyes ; then - adolc_debug=yes - AC_DEFINE(ADOLC_HARDDEBUG,1,[ADOL-C hard debug mode]) - fi - --if test x$adolc_debug == xyes ; then -+if test x$adolc_debug = xyes ; then - AC_DEFINE(ADOLC_DEBUG,1,[ADOL-C debug mode]) - fi - -@@ -254,7 +254,7 @@ - AC_MSG_RESULT(yes) - ]) - --if test x$adolc_stdczero == xyes; then -+if test x$adolc_stdczero = xyes; then - AC_DEFINE(ADOLC_ADOUBLE_STDCZERO,1,[ADOL-C adouble zeroing mode]) - fi - -@@ -271,7 +271,7 @@ - AC_MSG_RESULT(no) - ]) - --if test x$adolc_late_init == xyes; then -+if test x$adolc_late_init = xyes; then - AC_DEFINE(ADOLC_ADOUBLE_LATEINIT,1,[ADOL-C adouble late initialization mode]) - fi - -@@ -288,7 +288,7 @@ - AC_MSG_RESULT(no) - ]) - --if test x$adolc_tserrno == xyes ; then -+if test x$adolc_tserrno = xyes ; then - AC_DEFINE(ADOLC_THREADSAVE_ERRNO,1,[ADOL-C thread save errno mode]) - fi - -@@ -376,8 +376,8 @@ - [AS_HELP_STRING([--with-cflags=FLAGS], - [use CFLAGS=FLAGS (default: -O2)])], - [ac_adolc_cflags="$withval" -- if test x${adolc_debug} == xyes || -- test x${adolc_harddebug} == xyes ; then -+ if test "x${adolc_debug}" = xyes || -+ test "x${adolc_harddebug}" = xyes ; then - ac_adolc_cflags="$ac_adolc_cflags -g -O0" - fi - ac_adolc_cflags="$ac_adolc_cflags $ac_adolc_openmpflag" -@@ -385,8 +385,8 @@ - AC_MSG_RESULT($ac_adolc_cflags)], - [if test "$ac_shell_cflags" = "not_set"; then - ac_adolc_cflags="-O2" -- if test x${adolc_debug} == xyes || -- test x${adolc_harddebug} == xyes ; then -+ if test "x${adolc_debug}" = xyes || -+ test "x${adolc_harddebug}" = xyes ; then - ac_adolc_cflags="-g -O0 -Wall -ansi" - fi - else -@@ -402,8 +402,8 @@ - [AS_HELP_STRING([--with-cxxflags=FLAGS], - [use CXXFLAGS=FLAGS (default: -O2)])], - [ac_adolc_cxxflags="$withval" -- if test x${adolc_debug} == xyes || -- test x${adolc_harddebug} == xyes ; then -+ if test x${adolc_debug} = xyes || -+ test x${adolc_harddebug} = xyes ; then - ac_adolc_cxxflags="$ac_adolc_cxxflags -g -O0" - fi - ac_adolc_cxxflags="$ac_adolc_cxxflags $ac_adolc_openmpflag" -@@ -411,8 +411,8 @@ - AC_MSG_RESULT($ac_adolc_cxxflags)], - [if test "$ac_shell_cxxflags" = "not_set"; then - ac_adolc_cxxflags="-O2" -- if test x${adolc_debug} == xyes || -- test x${adolc_harddebug} == xyes ; then -+ if test x${adolc_debug} = xyes || -+ test x${adolc_harddebug} = xyes ; then - ac_adolc_cxxflags="-g -O0 -Wall" - fi - else -@@ -445,7 +445,7 @@ - ]) - AC_MSG_RESULT($tapedoc_values) - --if test x$tapedoc_values == xyes; then -+if test x$tapedoc_values = xyes; then - AC_DEFINE(ADOLC_TAPE_DOC_VALUES,1,[ADOL-C tape_doc routine computes values]) - fi - -@@ -614,7 +614,7 @@ - break - fi - done --if test "x${pdir}" == "x/" ; then -+if test "x${pdir}" = "x/" ; then - writable=false - fi - if ! ${writable} ; then -@@ -626,15 +626,6 @@ - warn=true - fi - --case ${prefix} in -- ${HOME}|${HOME}/*) --if $warn ; then -- for (( i=5; i>0; i-- )); do -- echo -ne "\rPlease read the above messages carefully, continuing in ${i} seconds" -- sleep 1 -- done -- echo -e "\rPlease read the above messages carefully " --fi - echo \ - " - ***************************************************************************** -@@ -660,8 +651,6 @@ - - ***************************************************************************** - " --;; --esac - if test "x$enable_static" != "xno" ; then - echo \ - " Linking a user program with a static ADOL-C library will always result diff --git a/sci-libs/adolc/files/adolc-2.7.2-swig-python-configure.patch b/sci-libs/adolc/files/adolc-2.7.2-swig-python-configure.patch deleted file mode 100644 index c434f6556836..000000000000 --- a/sci-libs/adolc/files/adolc-2.7.2-swig-python-configure.patch +++ /dev/null @@ -1,391 +0,0 @@ -https://bugs.gentoo.org/730750 -https://github.com/coin-or/ADOL-C/commit/8b53408d08f41ddaba2dea5655d332b13fc4c78b.patch -https://github.com/coin-or/ADOL-C/commit/06b3b665fc0253ee17f0208bd06cdc130e103741.patch -https://github.com/coin-or/ADOL-C/commit/25a69c486829ddaa19c115afc05cb7cf3b4e2410.patch -https://github.com/coin-or/ADOL-C/commit/e41d32ba6dab09a3e58b22f1f042e49cd5ee917f.patch -https://github.com/coin-or/ADOL-C/commit/0787a350cc181192cfd203b0f75941bcbd9c3e3a.patch -https://github.com/coin-or/ADOL-C/commit/0b3dd1747f90f68b17dc5f1bd3a5d898e3bc77fb.patch ----- -From e41d32ba6dab09a3e58b22f1f042e49cd5ee917f Mon Sep 17 00:00:00 2001 -From: Andrea Walther <walthand@math55020.mathematik.hu-berlin.de> -Date: Tue, 22 Sep 2020 10:47:27 +0200 -Subject: [PATCH] fix prefix and provide --enable-python - ---- - configure.ac | 19 ++++++++++++++++++- - 1 file changed, 18 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 6c2c88f9..b6aaeaa7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -71,6 +71,17 @@ if test x"${adolc_medipack_support}" = xyes ; then - AC_DEFINE(ADOLC_MEDIPACK_SUPPORT,1,[defined if MeDiPack support is to be compiled in]) - fi - -+ -+AC_MSG_CHECKING(whether to build ADOL-C with python/swig support) -+AC_ARG_ENABLE(python, -+ [AS_HELP_STRING([--enable-python],[build ADOL-C with python/swig support [default=disabled]])], -+ [adolc_python_support=$enableval],[adolc_python_support=no]) -+AC_MSG_RESULT($adolc_python_support) -+AM_CONDITIONAL(BUILD_ADOLC_python_SUPPORT,[test x${adolc_python_support} = xyes]) -+if test x"${adolc_python_support}" = xyes ; then -+AC_DEFINE(ADOLC_python_SUPPORT,1,[defined if python/swig support is to be compiled in]) -+fi -+ - LT_PREREQ([2.2.6]) - # checks for programs - AC_PROG_CXX -@@ -651,6 +662,10 @@ if test x$sparse = xyes && test x$have_colpack = xno; then - Only sparsity patterns can be computed\033@<:@0m" - warn=true - fi -+echo \ -+" Build with python: ${adolc_python_support}" -+ -+if test x$adolc_python_support = xyes ; then - if test x$sparse = xyes && test x$python_found = xyes && test x$SWIG != xno; then - echo \ - " Build with python swig module: yes" -@@ -660,7 +675,7 @@ else - if test x$sparse = xno && test x$python_found = xyes && test x$SWIG != xno; then - echo \ - "(due to sparse drivers disabled)" -- elif test x$sparse = xyes && ( $test x$python_found = xno || test x$SWIG = xno ); then -+ elif test x$sparse = xyes && ( test x$python_found = xno || test x$SWIG = xno ); then - echo \ - "(due to python/swig missing)" - else -@@ -668,6 +683,8 @@ else - "(due to sparse drivers disabled and python/swig missing)" - fi - fi -+fi -+ - echo - - echo \ -From 8b53408d08f41ddaba2dea5655d332b13fc4c78b Mon Sep 17 00:00:00 2001 -From: Kshitij Kulshreshtha <kkhere.geo@gmail.com> -Date: Tue, 31 Mar 2020 22:42:23 +0200 -Subject: [PATCH] Fix out-of-tree build for swig - ---- - ADOL-C/swig/Makefile.am | 4 +-- - ADOL-C/swig/setup.py | 65 +++++++++++++++++++++++++++----------- - ADOL-C/swig/swigprocess.py | 34 +++++++++++--------- - Makefile.am | 3 +- - configure.ac | 6 ++++ - 5 files changed, 75 insertions(+), 37 deletions(-) - -diff --git a/ADOL-C/swig/Makefile.am b/ADOL-C/swig/Makefile.am -index 04a52cd0..b1d5569b 100644 ---- a/ADOL-C/swig/Makefile.am -+++ b/ADOL-C/swig/Makefile.am -@@ -12,7 +12,7 @@ - - ACLOCAL_AMFLAGS = -I autoconf - --EXTRA_DIST = swigprocess.py adolc-r.i adolc-python.i adubswigfuncs.h adolc_all_in.hpp matrixmemory.hpp pyedfclasses.hpp -+EXTRA_DIST = swigprocess.py adolc-r.i adolc-python.i adubswigfuncs.hpp adolc_all_in.hpp matrixmemory.hpp pyedfclasses.hpp - - clean-local: - -rm -rf python R *.cpp *.cxx *.o *.h include -@@ -20,6 +20,6 @@ clean-local: - if PYTHONFOUND - if SPARSE - install: -- CXX=${CXX} ${PYTHON} setup.py install --prefix=${prefix} --only-swig -+ CXX=${CXX} ${PYTHON} ${srcdir}/setup.py build --only-swig --lib-prefix=${prefix} @python_srcbase@ install --prefix=${prefix} - endif - endif -diff --git a/ADOL-C/swig/setup.py b/ADOL-C/swig/setup.py -index 7a9a25c4..5bd98c3a 100644 ---- a/ADOL-C/swig/setup.py -+++ b/ADOL-C/swig/setup.py -@@ -11,6 +11,10 @@ - ############################################################################## - - from __future__ import print_function -+import sys, os -+ -+sys.path = [ os.path.dirname(os.path.abspath(__file__)) ] + sys.path -+ - from swigprocess import prepare_flat_header - from numpy.distutils import misc_util as np_dist - from distutils.core import setup, Extension -@@ -18,7 +22,6 @@ - from distutils.command.build_ext import build_ext - from distutils.command.build import build - from distutils.command.install import install --import os - import subprocess - - def compile_dynlib(prefix,colpackdir,boostdir): -@@ -88,14 +91,34 @@ def finalize_options(self): - prefix = self.lib_prefix - print('prefix = ', prefix) - self.include_dirs.append(os.path.join(prefix,'include')) -- self.library_dirs.append(os.path.join(prefix,'lib64')) -- self.rpath.append(os.path.join(prefix,'lib64')) -- prepare_flat_header() -+ import ctypes as c -+ plen = c.sizeof(c.c_void_p(0)) -+ if plen == 8: -+ self.library_dirs.append(os.path.join(prefix,'lib64')) -+ self.rpath.append(os.path.join(prefix,'lib64')) -+ else: -+ self.library_dirs.append(os.path.join(prefix,'lib')) -+ self.rpath.append(os.path.join(prefix,'lib')) -+ buildobj = self.get_finalized_command('build') -+ self.src = buildobj.src -+ prepare_flat_header(self.src) -+ self.swig_opts = ['-c++', '-I' + self.src] -+ self.finalized = 1 - -+ def build_extension(self, ext): -+ if self.src != '.': -+ import shutil -+ sources = ext.sources -+ newSrc = [] -+ for s in iter(sources): -+ shutil.copy(self.src + '/' + s, '.') -+ ext.include_dirs.append(self.src) -+ super(build_swigadolc,self).build_extension(ext) - - class buildthis(build,object): - command_name = 'build' - user_options = build.user_options + [ -+ ('src=', None, 'path of the source directory of swig module'), - ('lib-prefix=', None, 'prefix to install adolc library'), - ('colpack-dir=', None, 'directory in which colpack is installed'), - ('boost-dir=', None, 'directory in which boost is installed'), -@@ -111,11 +134,26 @@ def lib_doesnot_exist(self): - - def initialize_options(self): - super(buildthis,self).initialize_options() -+ self.src = None - self.lib_prefix = None - self.colpack_dir = None - self.boost_dir = None - self.only_swig = None - -+ def finalize_options(self): -+ super(buildthis,self).finalize_options() -+ if self.src is None: -+ self.src = '.' -+ if self.lib_prefix is None: -+ self.lib_prefix = os.path.join(os.environ['HOME'],'adolc_base') -+ if self.colpack_dir is None: -+ self.colpack_dir = os.path.join(os.environ['HOME'],'adolc_base') -+ if self.boost_dir is None: -+ self.boost_dir = '/usr' -+ if self.only_swig is None: -+ self.only_swig = False -+ self.finalized = 1 -+ - #sub_commands = [ ('build_lib', lib_doesnot_exist), - # ('build_ext', None) ] - sub_commands = [ ('build_lib', None), -@@ -137,22 +175,13 @@ def initialize_options(self): - super(installthis,self).initialize_options() - - def finalize_options(self): -+ self.set_undefined_options('build', -+ ('lib_prefix','lib_prefix'), -+ ('colpack_dir', 'colpack_dir'), -+ ('boost_dir', 'boost_dir'), -+ ('only_swig', 'only_swig')) - super(installthis,self).finalize_options() -- if self.lib_prefix is None: -- self.lib_prefix = os.path.join(os.environ['HOME'],'adolc_base') -- if self.colpack_dir is None: -- self.colpack_dir = os.path.join(os.environ['HOME'],'adolc_base') -- if self.boost_dir is None: -- self.boost_dir = '/usr' -- if self.only_swig is None: -- self.only_swig = False - self.finalized = 1 -- buildobj = self.distribution.get_command_obj('build') -- buildobj.set_undefined_options('install', -- ('lib_prefix','lib_prefix'), -- ('colpack_dir', 'colpack_dir'), -- ('boost_dir', 'boost_dir'), -- ('only_swig', 'only_swig')) - - incdirs = np_dist.get_numpy_include_dirs() - #python_ldflags = subprocess.check_output(['python-config','--ldflags'],universal_newlines=True) -diff --git a/ADOL-C/swig/swigprocess.py b/ADOL-C/swig/swigprocess.py -index bd5fe03d..f9de5551 100644 ---- a/ADOL-C/swig/swigprocess.py -+++ b/ADOL-C/swig/swigprocess.py -@@ -10,6 +10,7 @@ - ## - ############################################################################## - -+from __future__ import print_function - import re - import os.path - import sys -@@ -191,22 +192,25 @@ def finalClean(headfile,outfiles): - for f in glob.glob('*.o'): - os.remove(f) - --def prepare_flat_header(): -- sys.path = [ os.getcwd() ] + sys.path -- p = os.getcwd() + '/../include/adolc' -- for (dp, dn, fn) in os.walk(p): -- ndp = re.sub(r'\.\./',r'',dp) -- for f in iter(fn): -- lines = readFile(dp + "/" + f) -- lines = comment_all_includes(lines) -- lines = uncomment_local_includes(lines) -- try: -- os.makedirs(ndp) -- except: -- pass -- writeOutput(lines, ndp + "/" + f) -+def prepare_flat_header(src_base='.'): -+ pl = [ os.getcwd() + '/../include/adolc' ] -+ print('src_base = ', src_base) -+ if src_base != '.': -+ pl = [ src_base + '/../include/adolc' ] + pl -+ for p in iter(pl): -+ for (dp, dn, fn) in os.walk(p): -+ ndp = re.sub(r'^.*\.\./',r'',dp) -+ for f in iter(fn): -+ lines = readFile(dp + "/" + f) -+ lines = comment_all_includes(lines) -+ lines = uncomment_local_includes(lines) -+ try: -+ os.makedirs(ndp) -+ except: -+ pass -+ writeOutput(lines, ndp + "/" + f) - -- invoke_cpp('adolc_all_in.hpp', 'adolc_all_pre.hpp') -+ invoke_cpp(src_base + '/' + 'adolc_all_in.hpp', 'adolc_all_pre.hpp') - lines = readFile('adolc_all_pre.hpp') - lines = reinstate_nonlocal_include(lines) - writeOutput(lines,'adolc_all.hpp') -diff --git a/Makefile.am b/Makefile.am -index fb66e9f3..123ac905 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -24,13 +24,12 @@ EXTRA_DIST = TODO BUGS LICENSE update_versions.sh \ - ADOL-C/doc/tapebasic.pdf ADOL-C/doc/tapebasic.eps \ - ADOL-C/doc/tap_point.pdf ADOL-C/doc/tap_point.eps \ - MSVisualStudio/v14/adolc.sln MSVisualStudio/v14/adolc.vcxproj \ -- MSVisualStudio/v14/ColPack_Readme_VC++.txt \ - MSVisualStudio/v14/ColPack.vcxproj \ - MSVisualStudio/v14/sparse/config.h.in MSVisualStudio/v14/nosparse/config.h.in \ - MSVisualStudio/v14/x64/sparse/config.h.in MSVisualStudio/v14/x64/nosparse/config.h.in \ - MSVisualStudio/v14/sparse/config.h MSVisualStudio/v14/nosparse/config.h \ - MSVisualStudio/v14/x64/sparse/config.h MSVisualStudio/v14/x64/nosparse/config.h \ -- MSVisualStudio/v14/Readme_VC++.txt \ -+ MSVisualStudio/v14/README_VC++.md \ - MSVisualStudio/v14/installer.sh \ - adolc.spec.in adolc.spec \ - update_versions.sh -diff --git a/configure.ac b/configure.ac -index ddb08de1..6c2c88f9 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -501,6 +501,12 @@ fi - AM_PATH_PYTHON([2.7],[python_found=yes],[python_found=no]) - AC_PATH_PROG(SWIG, swig, [no]) - AM_CONDITIONAL(PYTHONFOUND, [test x$python_found = xyes && test x$SWIG != xno]) -+if test ${abs_top_srcdir} != ${abs_top_builddir} ; then -+ python_srcbase='--src=${abs_srcdir}' -+else -+ python_srcbase='' -+fi -+AC_SUBST(python_srcbase) - ########################################################################### - # COIN_PATCH_LIBTOOL_CYGWIN # - ########################################################################### - -From 25a69c486829ddaa19c115afc05cb7cf3b4e2410 Mon Sep 17 00:00:00 2001 -From: Kshitij Kulshreshtha <kkhere.geo@gmail.com> -Date: Wed, 1 Apr 2020 02:36:12 +0200 -Subject: [PATCH] another small fix for swig, this time for in-tree check - ---- - ADOL-C/swig/setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ADOL-C/swig/setup.py b/ADOL-C/swig/setup.py -index e6023679..4ec9a7cc 100644 ---- a/ADOL-C/swig/setup.py -+++ b/ADOL-C/swig/setup.py -@@ -105,7 +105,7 @@ def finalize_options(self): - self.finalized = 1 - - def build_extension(self, ext): -- if self.src != '.': -+ if os.path.abspath(os.path.realpath(self.src)) != os.path.abspath('.'): - import shutil - sources = ext.sources - newSrc = [] -From 0787a350cc181192cfd203b0f75941bcbd9c3e3a Mon Sep 17 00:00:00 2001 -From: Andrea Walther <walthand@math55020.mathematik.hu-berlin.de> -Date: Tue, 22 Sep 2020 11:58:09 +0200 -Subject: [PATCH] small change in configure.ac for swig module - ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index b6aaeaa7..58380e55 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -509,6 +509,7 @@ if test x$tapedoc_values == xyes; then - AC_DEFINE(ADOLC_TAPE_DOC_VALUES,1,[ADOL-C tape_doc routine computes values]) - fi - -+if test x$adolc_python_support == xyes; then - AM_PATH_PYTHON([2.7],[python_found=yes],[python_found=no]) - AC_PATH_PROG(SWIG, swig, [no]) - AM_CONDITIONAL(PYTHONFOUND, [test x$python_found = xyes && test x$SWIG != xno]) -@@ -517,7 +518,12 @@ if test ${abs_top_srcdir} != ${abs_top_builddir} ; then - else - python_srcbase='' - fi -+else -+ AM_CONDITIONAL(PYTHONFOUND, [test x$adolc_python_support]) -+ python_srcbase='' -+fi - AC_SUBST(python_srcbase) -+end - ########################################################################### - # COIN_PATCH_LIBTOOL_CYGWIN # - ########################################################################### -From 0b3dd1747f90f68b17dc5f1bd3a5d898e3bc77fb Mon Sep 17 00:00:00 2001 -From: Andrea Walther <walthand@math55020.mathematik.hu-berlin.de> -Date: Wed, 23 Sep 2020 08:54:54 +0200 -Subject: [PATCH] small fixes in configure.ac - ---- - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 58380e55..88671274 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -519,11 +519,11 @@ else - python_srcbase='' - fi - else -- AM_CONDITIONAL(PYTHONFOUND, [test x$adolc_python_support]) -+ AM_CONDITIONAL(PYTHONFOUND, [test x$adolc_python_support = xyes]) - python_srcbase='' - fi - AC_SUBST(python_srcbase) --end -+ - ########################################################################### - # COIN_PATCH_LIBTOOL_CYGWIN # - ########################################################################### diff --git a/sci-libs/coinor-os/Manifest b/sci-libs/coinor-os/Manifest index 2eb471b50f91..ba907c87d1ca 100644 --- a/sci-libs/coinor-os/Manifest +++ b/sci-libs/coinor-os/Manifest @@ -1,4 +1,4 @@ AUX coinor-os-2.10.1-fix-c++14.patch 4301 BLAKE2B c2bdef9b3bb9e5b8b8d5a9a93abaf71bfe71fd73fe33407f1860e5a350fd51885d35570b1f515826226470f169fa7d5e5976af71226b042841776938d1030983 SHA512 03f53d5a72ad7eef7305fcbd8ee7c07469c418f0e351b7bd84ccba5be0a0395aa5843d84fc7575f5a489a4632dafb651669ef56e760be4c50e69f6c45e24d96e DIST OS-2.10.1.tgz 37106742 BLAKE2B 6cf206489e4a63c33a1610ca12d59fcb6607d58a053411d0f9cfa6896e85be82ec18387ffc2e8aae3bbff3326574e0938fdfae1ba96c3862c366d343149f559c SHA512 bfc0af075e0db2160db694ec1e6f69c36cd52b29449fcbd689c809db01a9cf5f6a8a59edb7fb7269db5757faa14da5cd9fef34dffc73de7b2953b35fc2b710f0 -EBUILD coinor-os-2.10.1.ebuild 1269 BLAKE2B 56d4e129a09cb540720846d15efce23c8ba76298fdf3528220388c1c88d32cdb4dab339af49add373d134349b544c767bff54367442a62e1b1f9fed378a160f9 SHA512 3c77ace5131af057923f4dc4f2bf2eff454807945b7d5f958309ca12e5e6cdeb47234baa65904de0ba427414262c0c88808ce76fa555625752c52018ae144e9a +EBUILD coinor-os-2.10.1.ebuild 1405 BLAKE2B a1b5c61af4e9b0395c5a1758a80ad5d8cafeb8fe90ce0726091ea02d8eb7355b4993dfec26b7ba039df5743b0f2bb28f5aa36f9807a7867b5d4ec28207438fae SHA512 e2f9134d1f9d660162d7e86a87b434bc337373011c023b2ad33a4ccfaf8620c4856ff03ce21c650dbfd531e8c9db57691a68515df7b4d6f9564c2f4840afd09f MISC metadata.xml 548 BLAKE2B 336c4d19793a8cf4c123c8c143bfdf29e5e64394f0bb5214d579bac933674a99529e0eacdb11ea1663993fef6a26ca4a27d39ce72967c0c211f8719df4aaf1aa SHA512 5ba479c26cd716391de1eca0aa37d87a3ea20f74f036de8d9b6ed5f019fc83f8355cf5db6cf051ee199902b5edf8d333739b6a21547850dbe39a3fc82473a26a diff --git a/sci-libs/coinor-os/coinor-os-2.10.1.ebuild b/sci-libs/coinor-os/coinor-os-2.10.1.ebuild index 2093e3961b62..792b443c5d97 100644 --- a/sci-libs/coinor-os/coinor-os-2.10.1.ebuild +++ b/sci-libs/coinor-os/coinor-os-2.10.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,6 +10,7 @@ MY_PN=OS DESCRIPTION="COIN-OR Optimization Services" HOMEPAGE="https://projects.coin-or.org/OS/" SRC_URI="http://www.coin-or.org/download/source/${MY_PN}/${MY_PN}-${PV}.tgz" +S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}" LICENSE="EPL-1.0" SLOT="0/6" @@ -32,9 +33,9 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen[dot] ) test? ( sci-libs/coinor-sample )" -S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}" - -PATCHES=( "${FILESDIR}/${PN}-2.10.1-fix-c++14.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.10.1-fix-c++14.patch" +) src_prepare() { default @@ -46,6 +47,11 @@ src_prepare() { src_configure() { append-cppflags -DNDEBUG + # Can be dropped > 2.10.3 as patches landed upstream but don't + # apply cleanly to 2.10.1. + # bug #808793 + append-cxxflags -std=c++14 + econf \ --enable-shared \ $(use_enable static-libs static) \ diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest index 73d7043e31ee..9b97b6f18d32 100644 --- a/sci-libs/libqalculate/Manifest +++ b/sci-libs/libqalculate/Manifest @@ -5,5 +5,5 @@ DIST libqalculate-3.20.1.tar.gz 2107300 BLAKE2B 79314cbe2adb183a17f96947b8ad4fa0 EBUILD libqalculate-3.17.0.ebuild 1424 BLAKE2B dff87b194a2a34a0711c7b0b8f50d7e46f57b90869a2706d8aa7991440b56db8c92e54eb6265dfd4edf5086a058d53be87e3c0d1c553e13b9c2d27682efb707a SHA512 dc38abad377639192c9f276a1cf86847463b1ffe5fc35aef15b4d5d6e68f46af6dd6950f8127b1c091ce649dc5dd8fc6010333532ff493344727dd11e726b469 EBUILD libqalculate-3.18.0.ebuild 1424 BLAKE2B dff87b194a2a34a0711c7b0b8f50d7e46f57b90869a2706d8aa7991440b56db8c92e54eb6265dfd4edf5086a058d53be87e3c0d1c553e13b9c2d27682efb707a SHA512 dc38abad377639192c9f276a1cf86847463b1ffe5fc35aef15b4d5d6e68f46af6dd6950f8127b1c091ce649dc5dd8fc6010333532ff493344727dd11e726b469 EBUILD libqalculate-3.19.0.ebuild 1603 BLAKE2B a503ff3c6842ce2c20340e3783eda16ec0071151adedb157402df9c6ef0051afdc36ba03482d3b7edd8543c77c77d254b6fe6745ade186eff54f0be9cb9fa25f SHA512 f417057b5dc28dc540b2ba858e6219484d230e2a5a94416b67bcfb2670f09e144f09a3249f6a104eda529cd2c6a710ab9a0e6f935477f3d8731eb7adf4695790 -EBUILD libqalculate-3.20.1-r1.ebuild 1608 BLAKE2B 527c1abfaa8d29f92f178d63c8898ec26affc870a830cfe7c26bde6f76fd9b900457822ec148a8aef32ef23d51ffc5aa0f89b96549c587e699e3ef2179f35f7e SHA512 dd7b56e849de9713540e1c449f09f982b5042e7210d8b4612d4ead5bf29646ffc7343d8400fc60f681ff37e5cb457bc84ea1af4289d37877581db02d07f4e328 +EBUILD libqalculate-3.20.1-r1.ebuild 1615 BLAKE2B f3eac203d0b7eb1fe71e1a1aff5fee78d5cfab50983ac3349cac955530db6eeb571933c8a289e73ac2d535df62e89b1287cbf8e3ab4b207f32a8013f17022df7 SHA512 ff283eb9ae00c88d936eb6757f5680eecdacadecba1b9432cdfa9828792fafd382bfb162552c094f826bcdedebd23a9d8943f2fdaeeac183d947b9ffc2230f9f MISC metadata.xml 412 BLAKE2B bec97c9946830a88d871c0a27f06ff42a2ed252971f616f43f4c0cfa9617ea46565153c41c2aabea921b694c6a665a097635fdcf5dd82387dc60445e14657427 SHA512 3e011ceae845d6f233e86f7d39eb4460f561720312d8a0696b87672251cf46138228ae678ab63459280dd36fda3f9f8f302d9259e49acd6606fe2e66126bffb9 diff --git a/sci-libs/libqalculate/libqalculate-3.20.1-r1.ebuild b/sci-libs/libqalculate/libqalculate-3.20.1-r1.ebuild index 590dd468c1ed..91a17e2f666e 100644 --- a/sci-libs/libqalculate/libqalculate-3.20.1-r1.ebuild +++ b/sci-libs/libqalculate/libqalculate-3.20.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz LICENSE="GPL-2" SLOT="0/22" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="curl icu gnuplot readline" DEPEND=" diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest index fb9f393b2717..02e681802c41 100644 --- a/sci-libs/symengine/Manifest +++ b/sci-libs/symengine/Manifest @@ -1,6 +1,7 @@ +AUX symengine-0.7.0-boost-1.77.patch 607 BLAKE2B 8f9c6103369e83413667dc65fcacea8301d4c0535d0620b9cce2b9d082f635512a2a75f973425da137b5b64f6096a285c8997c8f5561025b936bbd9ba2e428d2 SHA512 12166126fad2927d3f68af17f1cb58134f17ac4dcd7b31eb47ee0c21327c9f55fe7f35a913b7400983c8c806fafcdf62c48eef516ec66383c7e416ccd3757fd8 AUX symengine-0.7.0-cmake-build-type.patch 1234 BLAKE2B b416e9b83db5eb6689bb9e18682d8f36f6ec13a4fe368004d2c3f961945cb0d1ec94081cb2c99bb16656439214cfd127a21cad2844a4752cd5c2fa6f40f3a3dc SHA512 d5e09a9603fab4caa9d9b091a0636be5ab8eddea6cb5b37b184ff7a65ac9707536f1a71e1893e0b5f795efb33396ae653d2745487aa863f7a239c63e42d22032 DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3 SHA512 cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b DIST symengine-0.7.0.tar.gz 802307 BLAKE2B de207f565f179deae37479eec82dfced3d83bfb7e643b4e6969135e10130dd05c888f34aa75c76c238ff1babfd0864f3329c3deee126b84ec33c4937c11dc20c SHA512 fd3198bc4a05ca2b9b8a58039cc21af65b44457f295362a1a9b8dbf9c6e3df5186c0c84b289bc9fe85d9efd5ac1a683f6b7ba9a661fb6d913d6ceefb14ee2348 EBUILD symengine-0.6.0.ebuild 2205 BLAKE2B 4bbd97357a16e4bbad1fcfdf26034dc51f5bd6718369f709978d0f9a7b399b473ea776ac6562979d29e1accc2f84f897ef8f58d116d0331e4092da5ba0278abb SHA512 403bb10352daad01d3665f06858400dd03875802817e0e1a8a8bf936fbd6a3cdd191ea4523aa056d6f19874125ad9949cea3b950a75c6dca75688848ed107c76 -EBUILD symengine-0.7.0.ebuild 2245 BLAKE2B 3d0d092beaccd6a2aeed6675f079634090182e9520dd73ac29d9a4a8bf1123c990e510c86469ec78136bdd0b8c5c21c607fd987e5620c38d027e8ea04a80bc42 SHA512 c5099a48acd334cffd684727f73c924688abcd2f8b4cbc3acd00a2a05834226865bffd19f96c31eec5063fe76943c05d4422f0701693510d5d7eceb798625169 +EBUILD symengine-0.7.0.ebuild 2289 BLAKE2B 3f27fc8f0cf831d92dba0538fb5e1557800cd9e21d158fe0a5087bcefa51016b4b868cf7dc835899d8575acc36b87899705a9cfca5f250106ca5f279c567b0d6 SHA512 87071c8797de9fde57e84d67269ec6c826e4380a1af3a354ef9fd3fc4e376ba2c2bf094e877de35a564c4194c85f410cef4a4a64ff81a8a078e5fd189988c2fb MISC metadata.xml 1265 BLAKE2B 17511088cb7ab73232d65437c7eb1e980e13689a46a73f11ccd0b6cdd9c8e1cb0cc986c49a814a927bcc1e4badada87e57632f1ba209913b19989cadeb202c2c SHA512 52e2f32d0385f7b91c987539e8cfaf89d2daa1c8383b25eb651db12c050f733cceab6608d900d3d2464a8fedcdd5414bdaca506ca7420e1223b74703adbd322c diff --git a/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch new file mode 100644 index 000000000000..c4d6dc28e8f8 --- /dev/null +++ b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch @@ -0,0 +1,19 @@ +https://github.com/symengine/symengine/commit/ceae675dccd593f119f3010d46e133de74fc01bc +https://bugs.gentoo.org/808057 + +From: Liam Keegan <liam@keegan.ch> +Date: Mon, 31 May 2021 21:31:02 +0200 +Subject: [PATCH] use list initialization for int parameter since type depends + on boost version + +--- a/symengine/mp_boost.cpp ++++ b/symengine/mp_boost.cpp +@@ -279,7 +279,7 @@ unsigned long mp_scan1(const integer_class &i) + if (i == 0) { + return ULONG_MAX; + } +- return find_lsb(i, int_<0>()); ++ return find_lsb(i, {}); + } + + // define simple 2x2 matrix with exponentiation by repeated squaring diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild b/sci-libs/symengine/symengine-0.7.0.ebuild index b06a7e49f070..91f658820bdf 100644 --- a/sci-libs/symengine/symengine-0.7.0.ebuild +++ b/sci-libs/symengine/symengine-0.7.0.ebuild @@ -31,6 +31,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch" + "${FILESDIR}/${PN}-0.7.0-boost-1.77.patch" ) pkg_pretend() { |