maintainer-approval requested: [Bug 240964] x11-toolkits/qt5-gui: 5.13.0 fails to build : [Attachment 208179] devel/evdev-proto: Use the same include guard as base
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 8 15:38:35 UTC 2019
Ting-Wei Lan <lantw44 at gmail.com> has asked freebsd-x11 mailing list
<x11 at FreeBSD.org> for maintainer-approval:
Bug 240964: x11-toolkits/qt5-gui: 5.13.0 fails to build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240964
Attachment 208179: devel/evdev-proto: Use the same include guard as base
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208179&action=edit
--- Comment #17 from Ting-Wei Lan <lantw44 at gmail.com> ---
Created attachment 208179
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208179&action=edit
devel/evdev-proto: Use the same include guard as base
In order to prevent a source file from including both dev/evdev/input.h from
base and linux/input.h from ports, these files should be the same include
guards. This should fix the qt5-gui error caused by redefinition of structs.
This patch also adds devel/evdev-proto to RUN_DEPENDS of devel/libmtdev because
mtdev.h needs linux/input.h.
I haven't tested the patch with poudriere. I only tested it with portmaster on
my desktop computer running FreeBSD 12.1-BETA3.
More information about the freebsd-x11
mailing list