Date: Tue, 08 Oct 2019 15:38:34 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: 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 Message-ID: <bug-240964-7141-isd05U7beO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240964-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-240964-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Ting-Wei Lan <lantw44@gmail.com> has asked freebsd-x11 mailing list <x11@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=3D240964 Attachment 208179: devel/evdev-proto: Use the same include guard as base https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208179&action=3Dedit --- Comment #17 from Ting-Wei Lan <lantw44@gmail.com> --- Created attachment 208179 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208179&action= =3Dedit 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 bec= ause 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240964-7141-isd05U7beO>