Hello,

On Thu, 13 Sep 2018, Michal Górny wrote:
># Michal Górny <[email protected]> (13 Sep 2018)
># Depends on old version of dev-libs/jsoncpp, blocking its pruning.
># Downstream maintainer is inactive to bump it.  Removal in 30 days.
>dev-lang/solidity

As per the "no -Werror" policy, the following patch to the ebuild, or
something to the same effect should be done anyway, and it compiles
without '-Werror'.

====
--- a/solidity-0.4.18.ebuild      2017-12-20 21:09:16.000000000 +0100
+++ b/solidity-0.4.18.ebuild      2018-09-13 15:59:06.584892127 +0200
@@ -28,6 +28,11 @@
        "${FILESDIR}"/${P}-fix-cmake-external-jsoncpp.diff
 )
 
+src_prepare() {
+       sed -i '/add_compile_options(-Werror)/d' cmake/EthCompilerSettings.cmake
+       cmake-utils_src_prepare
+}
+
 src_configure() {
        local mycmakeargs=(
                "-DBoost_USE_STATIC_LIBS=off"
====

HTH,
-dnh

-- 
| Ceci n'est pas une pipe

Reply via email to