diff options
author | Ted Tanberry <ted.tanberry@gmail.com> | 2015-12-28 23:08:53 +0100 |
---|---|---|
committer | Ted Tanberry <ted.tanberry@gmail.com> | 2015-12-28 23:10:22 +0100 |
commit | a339afeb7a5fa0b9a1353875b2792eb56b94c565 (patch) | |
tree | f29b146e59c0b80866d7f174a9d9f515187f4445 /sci-libs/avogadrolibs | |
parent | 06043c0992fdaaba61cb22a3a4373587ac2d4f71 (diff) | |
download | gentoo-a339afeb7a5fa0b9a1353875b2792eb56b94c565.tar.gz gentoo-a339afeb7a5fa0b9a1353875b2792eb56b94c565.tar.xz |
sci-libs/avogadrolibs: Add patch to fix underlinking with -Wl,--no-undefined.
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-libs/avogadrolibs')
-rw-r--r-- | sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch | 34 |
2 files changed, 35 insertions, 1 deletions
diff --git a/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild index 2472a69c9c0..f2a19da0b99 100644 --- a/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild +++ b/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild @@ -38,7 +38,7 @@ DEPEND="${DEPEND} dev-cpp/eigen:3 test? ( dev-cpp/gtest )" -PATCHES=( "${FILESDIR}"/${PN}-0.7.2-6464.patch ) +PATCHES=( "${FILESDIR}"/${PN}-0.7.2-6464.patch "${FILESDIR}/"${P}-underlinking.patch ) src_configure() { local mycmakeargs=( diff --git a/sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch b/sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch new file mode 100644 index 00000000000..b29f3afe761 --- /dev/null +++ b/sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch @@ -0,0 +1,34 @@ +Fix underlinking problems in shared libraries. + +--- avogadrolibs-0.8.0/avogadro/qtplugins/apbs/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/apbs/CMakeLists.txt +@@ -23,4 +23,4 @@ + "${apbs_uis}" + ) + +-target_link_libraries(apbs LINK_PRIVATE AvogadroIO MoleQueueClient) ++target_link_libraries(apbs LINK_PRIVATE AvogadroIO MoleQueueClient AvogadroMoleQueue) +--- avogadrolibs-0.8.0/avogadro/qtplugins/playertool/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/playertool/CMakeLists.txt +@@ -7,3 +7,5 @@ + "" + playertool.qrc + ) ++ ++target_link_libraries(PlayerTool LINK_PRIVATE Qt5OpenGL) +--- avogadrolibs-0.8.0/avogadro/qtplugins/povray/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/povray/CMakeLists.txt +@@ -8,3 +8,5 @@ + "povray.cpp" + "" + ) ++ ++target_link_libraries(POVRay LINK_PRIVATE AvogadroRendering) +--- avogadrolibs-0.8.0/avogadro/qtplugins/qtaim/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/qtaim/CMakeLists.txt +@@ -34,3 +34,5 @@ + + target_link_libraries(QTAIMScenePlugin + LINK_PRIVATE AvogadroRendering ${Qt5Concurrent_LIBRARIES}) ++target_link_libraries(QTAIMExtension ++ LINK_PRIVATE ${Qt5Concurrent_LIBRARIES}) |