Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732782 - x11-wm/fluxbox-1.3.7-r4: fails to build with gcc-11
Summary: x11-wm/fluxbox-1.3.7-r4: fails to build with gcc-11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL: http://git.fluxbox.org/fluxbox.git/pa...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2020-07-15 19:03 UTC by lekto
Modified: 2020-10-11 09:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,943.70 KB, text/x-log)
2020-07-15 19:03 UTC, lekto
Details
emerge --info (emerge.info,5.69 KB, application/x-info)
2020-07-15 19:04 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2020-07-15 19:03:50 UTC
Created attachment 649350 [details]
build.log

util/fluxbox-remote.cc: In function ‘int main(int, char**)’:
util/fluxbox-remote.cc:76:32: error: ordered comparison of pointer with integer zero (‘unsigned char*’ and ‘int’)
   76 |             && text_prop.value > 0
      |                ~~~~~~~~~~~~~~~~^~~
Comment 1 lekto 2020-07-15 19:04:11 UTC
Created attachment 649352 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-10-11 09:48:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce14fb1660a6ec86050ca280a459a01bdb69309

commit 1ce14fb1660a6ec86050ca280a459a01bdb69309
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-10-11 09:48:44 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-10-11 09:48:44 +0000

    x11-wm/fluxbox: fix build on c++17 compiler (gcc-11)
    
    Reported-by: lekto@o2.pl
    Closes: https://bugs.gentoo.org/732782
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 x11-wm/fluxbox/files/fluxbox-1.3.7-c++17.patch | 28 ++++++++++++++++++++++++++
 x11-wm/fluxbox/fluxbox-1.3.7-r4.ebuild         |  4 ++++
 2 files changed, 32 insertions(+)