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
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
Ting-Wei Lan <[email protected]> has asked freebsd-x11 mailing list <[email protected]> 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 <[email protected]> --- 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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"