[Slackbuilds-users] Updates - 20200103.1
matteo.bernardini at gmail.com
Sun Jan 5 08:56:43 UTC 2020
Il giorno sab 4 gen 2020 alle ore 17:52 Luiz Carlos Ramos via
SlackBuilds-users <slackbuilds-users at slackbuilds.org> ha scritto:
> the build of frei0r was giving errors. Tracing back what was happening,
> I discovered that it was a simple problem with C++11 compatibility,
> required by the project.
> I managed to include an option to the compilation (-std=c++11), that
> was sufficient to fix the problem in my case.
> If you'd find this acceptable, this patch may be included in the tree.
> Many thanks regarding your commitment (and the other maintainers', to
> not forget) with the project!
> Best wishes of a happy new year!
> Luiz Carlos Ramos
> Sao Paulo - Brazil
> From 362a806d60071f4b79ceaad1c7071b807ca0b21e Mon Sep 17 00:00:00 2001
> From: Luiz Ramos <lramos.prof at yahoo.com.br>
> Date: Sat, 4 Jan 2020 13:42:41 -0300
> Subject: [PATCH] libraries/frei0r: fix compilation
> gcc C++11 compatibility was needed to build frei0r. The option
> "-std=c++11" was added to the SlackBuild in order to do that.
> libraries/frei0r/frei0r.SlackBuild | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild
> index 51193323e5..ce64a47e50 100644
> --- a/libraries/frei0r/frei0r.SlackBuild
> +++ b/libraries/frei0r/frei0r.SlackBuild
> @@ -96,7 +96,7 @@ mkdir -p build
> cd build
> cmake \
> -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
> - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
> + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
> -DCMAKE_INSTALL_PREFIX=/usr \
> -DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX \
> -DCMAKE_BUILD_TYPE=Release ..
thanks a lot Luiz, I just pushed the patch in my branch!
best wishes to you and family too! :-)
More information about the SlackBuilds-users