#49074: qt5-mac @5.4.2: error: declaration of anonymous struct must be a definition -----------------------+------------------------ Reporter: fpvvd1@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: qt5-mac | -----------------------+------------------------ Comment (by casey.webster@…): The patches for qcocoacursor.mm and lalr.cpp in the link above for qt 5.5 are not specific to qt 5.5 and fix the problems building 5.4.2 on el capitan. I've created patches for lalr.cpp and qcocoacursor.mm taken from the links in the 5.5.0 bug and have successfully built and installed qt-5@5.4.2 with them. I will attach both diffs to this bug as well as a diff of my modified Portfile to apply them (probably not the way the maintainer will do it, but good enough for anyone else who wants to build before port tree is updated. -- Ticket URL: <https://trac.macports.org/ticket/49074#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X