commit: aab7960f5ed621d66db18b1c8e5f31d2d72af551 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Wed Nov 9 03:44:58 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Wed Nov 9 03:52:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aab7960f
sci-libs/inchi: fix build w/ clang16, install ixa.h Also add the lacking quotes around tc-getCC/CXX. Just quickfixes, ebuild feels rather fragile. Closes: https://bugs.gentoo.org/834488 Closes: https://bugs.gentoo.org/874696 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> sci-libs/inchi/{inchi-1.06.ebuild => inchi-1.06-r1.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sci-libs/inchi/inchi-1.06.ebuild b/sci-libs/inchi/inchi-1.06-r1.ebuild similarity index 90% rename from sci-libs/inchi/inchi-1.06.ebuild rename to sci-libs/inchi/inchi-1.06-r1.ebuild index 96578dc57371..48d6556426ff 100644 --- a/sci-libs/inchi/inchi-1.06.ebuild +++ b/sci-libs/inchi/inchi-1.06-r1.ebuild @@ -27,8 +27,8 @@ src_compile() { append-cxxflags \${P_INCL} -ansi -frtti -c common_opts=( - C_COMPILER=$(tc-getCC) - CPP_COMPILER=$(tc-getCXX) + C_COMPILER="$(tc-getCC)" + CPP_COMPILER="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" LINKER="$(tc-getCXX)" @@ -40,7 +40,7 @@ src_compile() { # Compile the library target_opts=( LINKER_OPTIONS="${LDFLAGS} " - C_OPTIONS="${CFLAGS} -DTARGET_API_LIB -D_LIB " + C_OPTIONS="${CFLAGS} -DTARGET_API_LIB -D_LIB -D_XOPEN_SOURCE=500 " #874696 CPP_OPTIONS="${CXXFLAGS} -DTARGET_API_LIB -D_LIB " CREATE_MAIN= ) @@ -71,5 +71,5 @@ src_install() { fi dobin "${S}/INCHI_EXE/bin/Linux/inchi-1" dolib.so "${S}/INCHI_API/bin/Linux/"lib*so* - doheader "${S}/INCHI_BASE/src/inchi_api.h" + doheader "${S}/INCHI_BASE/src/"{inchi_api,ixa}.h }