diff options
author | band-a-prend <torokhov-s-a@yandex.ru> | 2018-04-27 03:45:56 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-05-05 23:09:09 +0300 |
commit | be84553eb924219ec51e6fefb62f937a3f4eb697 (patch) | |
tree | 3941c6fcbf6787a416cef41f4cd45492eecd4ec2 /dev-util/codeblocks/files | |
parent | dev-util/codeblocks: metadata.xml add maintainer (diff) | |
download | gentoo-be84553eb924219ec51e6fefb62f937a3f4eb697.tar.gz gentoo-be84553eb924219ec51e6fefb62f937a3f4eb697.tar.bz2 gentoo-be84553eb924219ec51e6fefb62f937a3f4eb697.zip |
dev-util/codeblocks: version bump to 17.12
Code::Blocks IDE package version bump to 17.12 with
switching 'WX_GTK_VER' from x11-libs/wxGTK:2.8 to x11-libs/wxGTK:3.0
This also adds a new USE flag 'fortran' which controls the
building of 'FortranProject plugin' for Code::Blocks IDE
( https://sourceforge.net/projects/fortranproject/ )
after applying of 'FortranProject_autotools_build.diff' patch.
Add patch 'FortranProject_fix_build_gcc7_failed.patch'
from upstream that fix gcc7 compilation error
"call of overloaded ‘abs(unsigned int)’ is ambiguous"
for FortranProject plugin, i.e. when USE="fortran".
Remove USE=flag "static" with passing "--disable-static"
to econf within src_configure() section.
Remove directly passing "-g" compiler option to CFLAGS
and CXXFLAGS when USE="debug" by applying the patch
'codeblocks-17.12-nodebug.diff'.
Updating 'metadata.xml' file:
Adding 'fortran' USE-flag description for 'dev-util/codeblocks-17.12'.
Updating 'Manifest' file:
Adding size, blake2 and sha512 checksums for 'codeblocks_17.12.tar.xz' tarball
Bug: https://bugs.gentoo.org/643494
Closes: https://bugs.gentoo.org/643494
Diffstat (limited to 'dev-util/codeblocks/files')
-rw-r--r-- | dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff new file mode 100644 index 000000000000..7cbb678dda6a --- /dev/null +++ b/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff @@ -0,0 +1,13 @@ +# Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug" +diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4 +--- old/m4/acinclude.m4 2017-11-01 02:32:37.000000000 +0300 ++++ new/m4/acinclude.m4 2018-05-04 11:08:33.000000000 +0300 +@@ -91,8 +91,6 @@ + AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],, + enable_debug=$debug_default) + if test "x$enable_debug" = "xyes"; then +- CFLAGS="-g $CFLAGS" +- CXXFLAGS="-g $CXXFLAGS" + CPPFLAGS="-DDEBUG -DcbDEBUG $CPPFLAGS" + AC_MSG_RESULT(yes) + else |