diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-08 14:01:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-08 14:01:34 +0100 |
commit | 4645b6f17f0da81e9fe84081fb126a37102ba153 (patch) | |
tree | e6c48cf3db2213af38cf528a5364fffd5c74c6d6 /sci-chemistry | |
parent | ebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (diff) |
gentoo resync : 08.05.2018
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/Manifest.gz | bin | 17395 -> 17230 bytes | |||
-rw-r--r-- | sci-chemistry/avogadro/Manifest | 9 | ||||
-rw-r--r-- | sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild | 90 | ||||
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-1.1.1-boost-join-moc.patch | 78 | ||||
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-1.1.1-mkspecs-dir.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-1.1.1-openbabel.patch | 16 | ||||
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-1.1.1-pkgconfig_eigen.patch | 8 | ||||
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch | 13 | ||||
-rw-r--r-- | sci-chemistry/avogadro/metadata.xml | 20 | ||||
-rw-r--r-- | sci-chemistry/openbabel/Manifest | 3 | ||||
-rw-r--r-- | sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch | 15 | ||||
-rw-r--r-- | sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 3 |
13 files changed, 19 insertions, 260 deletions
diff --git a/sci-chemistry/Manifest.gz b/sci-chemistry/Manifest.gz Binary files differindex 0dbf542edb81..6424d3a91e37 100644 --- a/sci-chemistry/Manifest.gz +++ b/sci-chemistry/Manifest.gz diff --git a/sci-chemistry/avogadro/Manifest b/sci-chemistry/avogadro/Manifest deleted file mode 100644 index 83d4da03e654..000000000000 --- a/sci-chemistry/avogadro/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX avogadro-1.1.1-boost-join-moc.patch 2051 BLAKE2B 8711c60f2ad0d63d6b4cb39c8461a70f5ced9d9045e5b9b18cea5577721f15e7c9314c8d86d844f47fca5b769837167268903d91328219c5eda16c72f3007967 SHA512 d4e4ef54d94cccb0f34c4960d302772f9da47e27cb79e1ee0a4e928ef248ac629fd59f1564bedf7c82a2a7ca8b25456878c22569dbcda26478a6c06e5815a084 -AUX avogadro-1.1.1-mkspecs-dir.patch 580 BLAKE2B ca9da1dcbf5560fbedd84f12023d921f9cb11f8475aea5094454195eeb37eb21a1a92cbef268b166e26f7477a086a74337b0c262eab729c8012d1067987bee6d SHA512 6c5b67d9f9e1e9fa3c11ae235f467525129fa9d81f34211ed8b97c199690e12cd1457df3aac861615d94efb452af306df6b53218309ff87f6ca1f68edffbf6b2 -AUX avogadro-1.1.1-no-strip.patch 745 BLAKE2B d06400dc0737b7991fe5da6888159b41e7765c851c7ade14619a12571d40c40332363b34da1b0b4af521ee37d2575c28d8cb075bbcf7916b78596af21f395e89 SHA512 921b1333bf37135d5890222193ebdb5b351739d16bf1434c59509e8aab0135ea5cde6812b63d4159fafac29d4eb6297320d03513e474466a7fb857ed16301d6e -AUX avogadro-1.1.1-openbabel.patch 655 BLAKE2B a0bee7e87a75db2c0881036f977e5a8513ba1f6a66360f8e8cad26eaf269df16140721c4b33d3cf4abde35c0be7f13614e6466b6bc34edcc158cf340b42da20e SHA512 23f477c9deb4befb87a92eb1edaabdd8e52a25f24a36ec9dbf345b0686442cec229a16fbb118e3336cf28592d8af4fc51d0a3e5e9d7a7d7c11a65080c08a074d -AUX avogadro-1.1.1-pkgconfig_eigen.patch 387 BLAKE2B f842b6f0eacdf351688f2a8c83b248cee0602cf1e96bf180bc0be8181e3cb6c3bbbf8e67572088d763d69d0eadfb7936199d29b5e68076cd6ec89138d5051845 SHA512 4e1e838f7cd88ef3ef49c26565aecf16a3cfb5c735d67c2525e877aa64671ac787733b0eee7f02ef79c6ada05d7dd7fc3c4a470e6d4549fcd0fea7d49e780e99 -AUX avogadro-1.2.0-numpy.patch 448 BLAKE2B 2bbde3ba9e4b8fd5ead2afa3a9cecb458600cf454b50011034ce445ff569212052d04cce9142aab4207da8d84a6b9290d567c4d9262547dcd41c71f7071fa0e3 SHA512 20155043af3ef2f5a01d63dd80cfb3dc7402a2ea43bb3d47dd57e7850671fba62981310280d9361d37ac3359e9dda2daa80f6627836ac53a8dec0f0c2a009905 -DIST avogadro-1.2.0_p20170207.tar.gz 16805634 BLAKE2B 012ac0fa6e86bdff1ec117e81faf88ddda2e3264b36c3997ce60814f5a5900dc8722266a52bda70715279e640a3deb04a38bc2bfdfc4ae856182d94e25b7c705 SHA512 c5088ba1e1b48f3202766e38b1c3f2016c3facbf4ea544e24eedb0706328815e7500bcebdedfea2a330e665b97f76c7f86b669339c6f5a765533bfd3a88d7b51 -EBUILD avogadro-1.2.0_p20170207.ebuild 2107 BLAKE2B 80c56bab7a8c08d9023c8cd187996f05df7f2316353884a139980d2b2794a34ac050922c9e9c58de67d481a01d3c694a9b104bc2d18cde37454bb8fba2d445e3 SHA512 4ef7346cab4937ba189de8439ee78a710d3e398519bbe077b38b2099d412e913baee830d134e770e060f947ce23ab8ffd9d2ddd7930400c1b281f90f36715327 -MISC metadata.xml 703 BLAKE2B 64270fc03ee237b6778aa8b07bef13c3d283cf4b43c341c7e529a8a99cf465a548c8f6b64bba21d68c3f5f298104fd3a6e4e719a6a8f6c9749d71376b1248b0d SHA512 3602707feca1ecb4317f30fd06404b087fb7264929204dd488138c60e82a3d6a11537ba3e29d9f2c491f2be6e06ba874167509905f587ec147b83b773f341c67 diff --git a/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild b/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild deleted file mode 100644 index 28d5724b0e50..000000000000 --- a/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -COMMIT=258105b4d8957e0245a341cdf1dc12c72234c833 -PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils flag-o-matic python-single-r1 vcs-snapshot xdg-utils - -DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL" -HOMEPAGE="http://avogadro.openmolecules.net/" -SRC_URI="https://github.com/cryos/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_sse2 +glsl python test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-qt/qtcore:4 - dev-qt/qtgui:4 - dev-qt/qtopengl:4 - media-libs/glew:= - sci-chemistry/openbabel:= - virtual/glu - x11-libs/gl2ps - glsl? ( >=media-libs/glew-1.5.0:0= ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/sip[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND} - dev-cpp/eigen:3 - virtual/pkgconfig -" - -# https://sourceforge.net/p/avogadro/bugs/653/ -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.1-mkspecs-dir.patch - "${FILESDIR}"/${PN}-1.1.1-no-strip.patch - "${FILESDIR}"/${PN}-1.1.1-pkgconfig_eigen.patch - "${FILESDIR}"/${PN}-1.1.1-openbabel.patch - "${FILESDIR}"/${PN}-1.1.1-boost-join-moc.patch - "${FILESDIR}"/${PN}-1.2.0-numpy.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - sed -e "s:_BSD_SOURCE:_DEFAULT_SOURCE:g" \ - -i CMakeLists.txt || die - - sed -e "/Version/s/1\.2/1\.0/" \ - -i avogadro/src/avogadro.desktop || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DENABLE_THREADEDGL=OFF - -DENABLE_RPATH=OFF - -DENABLE_UPDATE_CHECKER=OFF - -DQT_MKSPECS_DIR="${EPREFIX}/usr/share/qt4/mkspecs" - -DWITH_SSE2=$(usex cpu_flags_x86_sse2) - -DENABLE_GLSL=$(usex glsl) - -DENABLE_PYTHON=$(usex python) - -DENABLE_TESTS=$(usex test) - ) - - QT_MKSPECS_RELATIVE=share/qt4/mkspecs cmake-utils_src_configure -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.1-boost-join-moc.patch b/sci-chemistry/avogadro/files/avogadro-1.1.1-boost-join-moc.patch deleted file mode 100644 index a464fdac42ca..000000000000 --- a/sci-chemistry/avogadro/files/avogadro-1.1.1-boost-join-moc.patch +++ /dev/null @@ -1,78 +0,0 @@ -Add include guards to all boost includes, as qt's moc trips -over nested BOOST_JOIN macros: -* usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" -* libavogadro/src/CMakeFiles/avogadro.dir/build.make:217: recipe for target 'libavogadro/src/moc_pythonengine_p.cxx' failed -See also: https://bugs.gentoo.org/show_bug.cgi?id=578896 - ---- avogadro-1.1.1/libavogadro/src/pythonengine_p.h -+++ avogadro-1.1.1/libavogadro/src/pythonengine_p.h -@@ -27,7 +27,9 @@ - - #include <avogadro/global.h> - #include <avogadro/engine.h> -+#ifndef Q_MOC_RUN - #include <boost/python.hpp> -+#endif - - namespace Avogadro { - ---- avogadro-1.1.1/libavogadro/src/pythonextension_p.h -+++ avogadro-1.1.1/libavogadro/src/pythonextension_p.h -@@ -29,7 +29,9 @@ - #include <avogadro/extension.h> - #include <avogadro/primitive.h> - #include <avogadro/glwidget.h> -+#ifndef Q_MOC_RUN - #include <boost/python.hpp> -+#endif - - #include <QWidget> - #include <QList> ---- avogadro-1.1.1/libavogadro/src/pythoninterpreter.h -+++ avogadro-1.1.1/libavogadro/src/pythoninterpreter.h -@@ -26,7 +26,9 @@ - #define PYTHONINTERPRETER_H - - #include <avogadro/global.h> -+#ifndef Q_MOC_RUN - #include <boost/python.hpp> -+#endif - #include <avogadro/primitive.h> - #include <QString> - ---- avogadro-1.1.1/libavogadro/src/pythonscript.h -+++ avogadro-1.1.1/libavogadro/src/pythonscript.h -@@ -27,7 +27,9 @@ - #define PYTHONSCRIPT_H - - #include <avogadro/global.h> -+#ifndef Q_MOC_RUN - #include <boost/python.hpp> -+#endif - - #include "pythonerror.h" - ---- avogadro-1.1.1/libavogadro/src/pythonthread_p.h -+++ avogadro-1.1.1/libavogadro/src/pythonthread_p.h -@@ -26,7 +26,9 @@ - #define PYTHONTHREAD_H - - #include <avogadro/global.h> -+#ifndef Q_MOC_RUN - #include <boost/python.hpp> -+#endif - - namespace Avogadro { - ---- avogadro-1.1.1/libavogadro/src/pythontool_p.h -+++ avogadro-1.1.1/libavogadro/src/pythontool_p.h -@@ -27,7 +27,9 @@ - - #include <avogadro/global.h> - #include <avogadro/tool.h> -+#ifndef Q_MOC_RUN - #include <boost/python.hpp> -+#endif - - #include <QObject> - #include <QAction> diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.1-mkspecs-dir.patch b/sci-chemistry/avogadro/files/avogadro-1.1.1-mkspecs-dir.patch deleted file mode 100644 index 45c616422efe..000000000000 --- a/sci-chemistry/avogadro/files/avogadro-1.1.1-mkspecs-dir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up avogadro-1.1.1/CMakeLists.txt.mkspecs-dir avogadro-1.1.1/CMakeLists.txt ---- avogadro-1.1.1/CMakeLists.txt.mkspecs-dir 2014-01-24 23:43:01.618510517 -0600 -+++ avogadro-1.1.1/CMakeLists.txt 2014-01-24 23:44:03.236844746 -0600 -@@ -547,7 +547,7 @@ if(QT_MKSPECS_DIR AND INSTALL_QMAKE_PRF) - # ) - install(FILES - "${CMAKE_CURRENT_BINARY_DIR}/avogadro.prf" -- DESTINATION "${CMAKE_INSTALL_PREFIX}/${QT_MKSPECS_RELATIVE}/features" -+ DESTINATION "${QT_MKSPECS_DIR}/features" - ) - # endif ("${QT_MKSPECS_DIR}" MATCHES ^$"${CMAKE_INSTALL_PREFIX}/") - else() diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch b/sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch deleted file mode 100644 index 490dd58907df..000000000000 --- a/sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up avogadro-1.1.1/CMakeLists.txt.no-strip avogadro-1.1.1/CMakeLists.txt ---- avogadro-1.1.1/CMakeLists.txt.no-strip 2014-01-24 23:14:44.473840038 -0600 -+++ avogadro-1.1.1/CMakeLists.txt 2014-01-24 23:15:46.869166459 -0600 -@@ -114,7 +114,7 @@ if (CMAKE_COMPILER_IS_GNUCXX) - endif() - # Set up additional build flags for particular build types. These will be added to CMAKE_CXX_FLAGS, - # they will not replace them. -- set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT -Wl,-s") -+ set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT") - set(CMAKE_CXX_FLAGS_RELWITHDEBINFO - "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${CMAKE_CXX_FLAGS_WARN}") - set(CMAKE_CXX_FLAGS_DEBUG "-g3 -fno-inline ${CMAKE_CXX_FLAGS_WARN}") diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.1-openbabel.patch b/sci-chemistry/avogadro/files/avogadro-1.1.1-openbabel.patch deleted file mode 100644 index 4bdc6b2e780e..000000000000 --- a/sci-chemistry/avogadro/files/avogadro-1.1.1-openbabel.patch +++ /dev/null @@ -1,16 +0,0 @@ - libavogadro/src/python/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libavogadro/src/python/CMakeLists.txt b/libavogadro/src/python/CMakeLists.txt -index efb518a..1a3d91a 100644 ---- a/libavogadro/src/python/CMakeLists.txt -+++ b/libavogadro/src/python/CMakeLists.txt -@@ -21,7 +21,7 @@ if (WIN32) - target_link_libraries(python-module avogadro ${PYTHON_LIBRARIES}) - else() - target_link_libraries(python-module stdc++ avogadro -- ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${Boost_LIBRARIES}) -+ ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${Boost_LIBRARIES} ${OPENBABEL2_LIBRARIES}) - endif() - - # Let's try to use this instead: diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.1-pkgconfig_eigen.patch b/sci-chemistry/avogadro/files/avogadro-1.1.1-pkgconfig_eigen.patch deleted file mode 100644 index 93dbe2ff4ecc..000000000000 --- a/sci-chemistry/avogadro/files/avogadro-1.1.1-pkgconfig_eigen.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -up avogadro-1.1.1/avogadro.pc.in.eigen avogadro-1.1.1/avogadro.pc.in ---- avogadro-1.1.1/avogadro.pc.in.eigen 2013-12-06 09:50:04.000000000 -0600 -+++ avogadro-1.1.1/avogadro.pc.in 2014-01-25 00:37:45.732007852 -0600 -@@ -9,3 +9,4 @@ Description: Avogadro libraries - Version: @Avogadro_VERSION_FULL@ - Libs: -L${libdir} -lavogadro - Cflags: -I${pkgincludedir} -+Requires.private: eigen3 diff --git a/sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch b/sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch deleted file mode 100644 index 4869fa4ea79d..000000000000 --- a/sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/cmake/modules/FindNumpy.cmake b/cmake/modules/FindNumpy.cmake -index b348418..49ba206 100644 ---- a/cmake/modules/FindNumpy.cmake -+++ b/cmake/modules/FindNumpy.cmake -@@ -10,7 +10,7 @@ - #endif (NUMPY_INCLUDE_DIR) - - EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c -- "import numpy; print numpy.get_include()" -+ "import numpy; print (numpy.get_include())" - OUTPUT_VARIABLE NUMPY_INCLUDE_DIR - OUTPUT_STRIP_TRAILING_WHITESPACE) - diff --git a/sci-chemistry/avogadro/metadata.xml b/sci-chemistry/avogadro/metadata.xml deleted file mode 100644 index 693df91c051a..000000000000 --- a/sci-chemistry/avogadro/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> - <longdescription> - Avogadro is an advanced molecular editor designed for cross-platform use in - computational chemistry, molecular modeling, bioinformatics, materials - science, and related areas. It offers flexible rendering and a powerful - plugin architecture. - </longdescription> - <use> - <flag name="glsl">Enable glsl features via GLEW.</flag> - </use> - <upstream> - <remote-id type="sourceforge">avogadro</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest index a18249043ed6..970eee422e6d 100644 --- a/sci-chemistry/openbabel/Manifest +++ b/sci-chemistry/openbabel/Manifest @@ -1,7 +1,8 @@ AUX openbabel-2.3.2-gcc-6_and_7-backport.patch 635 BLAKE2B 4e98dedd149b14d5bb02fb6d2fa03e07242d100c7b41f36f749ff3d587080eeca44aa26ca095d31e0309e45f3780b67deaa97f1177ed35a9b7407bd7c33f78ff SHA512 e1b4402f34d01ced5b4caaa184b4e5544cf47893cfe7958054052b05a57dc34b4d44239a212c7d909f29b9366b83b6df74993f844a20f23748c01272ec093081 AUX openbabel-2.3.2-test_lib_path.patch 837 BLAKE2B 1d6e1c26cd794cef61bde2c2821b937cf0aa2f0a6e812579a44f65bc787b63cb8e85e0979cf945c2892cbd4a39ffaddb8464f93b0a08f6751b8fc062495b42a4 SHA512 d065eef0bb8d751d3292206feb25557394dc203e810b5f0eb7c52a28cb9e2bfaaf60f195d295ef6e58619ab9fa87d84e6b55ad822cfdefc22e02e8b5a8b49efb +AUX openbabel-2.4.1-gcc-8.patch 706 BLAKE2B 085b2f5a1678c02a6a8efc5f760dc43ef311774a47d80c87efb75111ac750ec6bf520286fa74325eca71138eecff4b2772ab087d4de1b9b9a5f1c81806d6be87 SHA512 04884d47a9549d2c107bbeb9c36edbe18ee68a7edd447fce405f39a4297bdacf3f81ddf4c5c19e9728355f07960b836e684087573b3a2b7892225de8b7beaea1 DIST openbabel-2.3.2.tar.gz 20509105 BLAKE2B d475c2da0d7171650eeb4b78a948421b783bdbb9342c81114d3dbc19d5cbb273f7303438920ffaeef5b6332e4b72606a86ded5cbd3d7e541f62b59b46483bb69 SHA512 d0e1f8b758ffdd65ec6c31d988bffe3279355e286ce69fad12c5905b3b832e2b73ee95b1061b1576aba1ee9fe4da5e31ec30350c473be17493c657dc80caf919 DIST openbabel-2.4.1.tar.gz 11618304 BLAKE2B 8fc051e83add9be6456e281a109bd6bbec282a64ffc83309819f0decbf167b4914fbb7f1966e95e103f268754045b804317f51c79a952ace707c6af2bd320125 SHA512 427e678f0a911bd27b9a8a05e60b6e09f113be4e5dd180daaf80c28d06368e52b57501261755ab3817a8d31f2754db24471fd0ceee706d029386d6f70800e9c6 EBUILD openbabel-2.3.2-r1.ebuild 2061 BLAKE2B 292e860a5ae8eac6de4d273fe4030965ac4f710224127b2aa5155dd12e7452fe3204ffb49388d290555574124fc004930cd0af38028c30c73aa99fa4cf802dfa SHA512 acc8b99854f852375a19a5b6316cc439016aa258e369892bc524949e709c48412f7925e57f2b684de6a327960b09324d0327aee066560d8dd2194b279de53e0f -EBUILD openbabel-2.4.1.ebuild 1981 BLAKE2B 9ef5833883f7bbc2c577bd3e314f19177e0333f619819f48b433be80a68d8c2eace7dc844c5780834e558bd2bfe9fbd4f295fb684cd862948fd0d620f7775607 SHA512 bc0e729ed48e27b85be2c5f28f134b99247ad39493bf1fddae231161b049b765cecd183f77acc278c09a9a8fd3220fb00be84e72018df64968e6af69c8958fbe +EBUILD openbabel-2.4.1.ebuild 2013 BLAKE2B b7fe713786600ac7efc9b4541663b8049c0145863cd6efc397dbed8a858cb006746e8ae6ddb4b9148023d5bf3a7f1cca76a4327577a5f9809c8e17d5a4f78945 SHA512 2eddc590968cb39a8c87563eb724669742b795bbf1861d85d9892e87fa9137b989f36ba435f98fe1b8151a142aa73a73df49ab5ef5ad1617e2d3875ad655ee1e MISC metadata.xml 665 BLAKE2B 4657b85c826c006b6d69e06240dd908a72397a32cb0c0512810e22d1b02478eaa3ab460535b300eba653a334a79c81a102007da1a901d6d1dbd04fc5e795df73 SHA512 0555e7c7401dfd5fbeee339302f8eb7a104ad6538db2839d8e89c20ac5ad2184070335677671a58eb91be2780ae485467d33302f3a14d0caab4ae8c0148f03bb diff --git a/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch b/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch new file mode 100644 index 000000000000..632ffa867613 --- /dev/null +++ b/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/654800 +Fixed-by: milan hodoscek +diff --git a/../old/CMakeLists.txt b/CMakeLists.txt +index dc38d1b..801207e 100644 +--- a/../old/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -239,7 +239,7 @@ check_type_size(clock_t CLOCK_T) + # Get the GCC version - from KDE4 cmake files + if(CMAKE_COMPILER_IS_GNUCXX) + exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) +- string(REGEX MATCH "[34567]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") ++ string(REGEX MATCH "[345678]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") + # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the + # patch level, handle this here: + if (NOT _gcc_version) diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild index 3719af8c81d7..4606746af57d 100644 --- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild +++ b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,6 +31,7 @@ DOCS=( AUTHORS NEWS.md README.md THANKS doc/dioxin.{inc,mol2} doc/README.{dioxin PATCHES=( "${FILESDIR}"/${PN}-2.3.2-gcc-6_and_7-backport.patch + "${FILESDIR}"/${P}-gcc-8.patch ) pkg_setup() { |