From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60078139694 for ; Thu, 3 Aug 2017 17:09:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D088E0C75; Thu, 3 Aug 2017 17:09:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C19DE0C75 for ; Thu, 3 Aug 2017 17:09:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 710D33418ED for ; Thu, 3 Aug 2017 17:09:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 032E07491 for ; Thu, 3 Aug 2017 17:09:42 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1501780078.014ae925f9faf8770ed787dc2246e71d61c5a509.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kalzium/files/, kde-apps/kalzium/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch kde-apps/kalzium/kalzium-17.04.3.ebuild X-VCS-Directories: kde-apps/kalzium/ kde-apps/kalzium/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 014ae925f9faf8770ed787dc2246e71d61c5a509 X-VCS-Branch: master Date: Thu, 3 Aug 2017 17:09:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0f9b2627-b725-4013-a7f4-330df34959d4 X-Archives-Hash: 1b2da7bcb76ace4541bd2fbb2092cab1 commit: 014ae925f9faf8770ed787dc2246e71d61c5a509 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Aug 3 16:59:00 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Aug 3 17:07:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014ae925 kde-apps/kalzium: Fix build with dev-lang/ocaml-4.04.0 See also: https://bugs.kde.org/show_bug.cgi?id=372671 Gentoo-bug: 603050 Package-Manager: Portage-2.3.6, Repoman-2.3.1 .../kalzium/files/kalzium-17.04.3-ocaml404.patch | 29 ++++++++++++++++++++++ kde-apps/kalzium/kalzium-17.04.3.ebuild | 2 ++ 2 files changed, 31 insertions(+) diff --git a/kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch b/kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch new file mode 100644 index 00000000000..b2c315702a7 --- /dev/null +++ b/kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch @@ -0,0 +1,29 @@ +From 447d0ca4cc757f79ad02ca52ab5e086b78dfdfb1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Santamar=C3=ADa=20Lema?= + +Date: Thu, 3 Aug 2017 18:10:53 +0200 +Subject: Fix build with ocaml 4.04 + +BUG: 372671 +FIXED-IN: 17.08 + +Differential Revision: https://phabricator.kde.org/D6752 +--- + src/CMakeOCamlInstructions.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/CMakeOCamlInstructions.cmake b/src/CMakeOCamlInstructions.cmake +index 483d003..da703b1 100644 +--- a/src/CMakeOCamlInstructions.cmake ++++ b/src/CMakeOCamlInstructions.cmake +@@ -58,7 +58,7 @@ ocaml_ml_to_cmx(${CMAKE_CURRENT_BINARY_DIR}/lexer.cmx ${CMAKE_CURRENT_SOURCE_DIR + # object files + + add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o +- COMMAND ${OCAML_OCAMLOPT_EXECUTABLE} -I ${LIBFACILE_INCLUDE_DIR} -c ${CMAKE_CURRENT_SOURCE_DIR}/solver/modwrap.c -o ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o ++ COMMAND ${OCAML_OCAMLOPT_EXECUTABLE} -I ${LIBFACILE_INCLUDE_DIR} -c ${CMAKE_CURRENT_SOURCE_DIR}/solver/modwrap.c + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/solver/modwrap.c ${CMAKE_CURRENT_BINARY_DIR}/solver.o + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) + set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o) +-- +cgit v0.11.2 diff --git a/kde-apps/kalzium/kalzium-17.04.3.ebuild b/kde-apps/kalzium/kalzium-17.04.3.ebuild index 9245d7e29c7..caeb6d64fc0 100644 --- a/kde-apps/kalzium/kalzium-17.04.3.ebuild +++ b/kde-apps/kalzium/kalzium-17.04.3.ebuild @@ -43,6 +43,8 @@ RDEPEND="${DEPEND} sci-chemistry/chemical-mime-data " +PATCHES=( "${FILESDIR}/${P}-ocaml404.patch" ) # bug 603050 + src_configure(){ # Fix missing finite() [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H