#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 aelhossi@…): Replying to [comment:6 pjkim00@…]:
Replying to [comment:3 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.
Tried cleaning, applying patch to Portfile, copying diff files to files dir and building. After about ~45 minutes of building, the build failed. It got a LOT farther than without the patches however. The log file is 169MB! big so I am still trying to find out what the failure is.
Same thing for me. I applied the batch, and I now I passed the initial error, but got much more errors. Any solution for this! -- Ticket URL: <https://trac.macports.org/ticket/49074#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X