Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 732782

Summary: x11-wm/fluxbox-1.3.7-r4: fails to build with gcc-11
Product: Gentoo Linux Reporter: lekto
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.fluxbox.org/fluxbox.git/patch/?id=22866c4d30f5b289c429c5ca88d800200db4fc4f
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log
emerge --info

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(+)