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

Bug 622790

Summary: dev-libs/dbus-c++-0.9.0-r2 fails to build with gcc-7
Product: Gentoo Linux Reporter: Hector Martin <marcan>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: aballier
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: GCC7 fixes

Description Hector Martin 2017-06-26 22:14:48 UTC
Created attachment 478144 [details, diff]
GCC7 fixes

Patch is attached. There are two problems: a typo in an argument to `write` (should be a string, not a character), and a config.h define that is used in a public header (the only version of sys-apps/dbus in portage is much newer than the threshold, so it's okay to just hardcode it).

This blocks [gcc-7].
Comment 1 Alexis Ballier gentoo-dev 2017-06-27 09:16:42 UTC
commit 9ed232ebdf0132c5b0ac4d0adfc5959df72bead2 (HEAD -> master, origin/master, origin/HEAD)
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Tue Jun 27 11:15:30 2017 +0200

    dev-libs/dbus-c++: add gcc7 fix, bug #622790 by Hector Martin


thanks!