[MacPorts] #66219: qt5-qtwebengine @5.15.11_0: does not build in macOS 10.14 (Mojave)
MacPorts
noreply at macports.org
Sat Nov 19 15:16:58 UTC 2022
#66219: qt5-qtwebengine @5.15.11_0: does not build in macOS 10.14 (Mojave)
------------------------------+---------------------------------
Reporter: JD-Veiga | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords:
Port: qt5-qtwebengine |
------------------------------+---------------------------------
Comment (by JD-Veiga):
I was able to build `qt5-qtwebengine at 5.15.11_0` in macOS 10.14.6 Xcode
11.3.1 (11C504) with the patch provided by [comment:9 pietvo]:
> I got it working on Catalina 10.15.7 Xcode 12.4 with the following
patch, which probably has to be brought into Portfile compatible format.
>
>
> {{{
> diff -u src/3rdparty/chromium/ui/gfx/geometry/rect.h.\~1\~
src/3rdparty/chromium/ui/gfx/geometry/rect.h
> --- src/3rdparty/chromium/ui/gfx/geometry/rect.h.~1~
> +++ src/3rdparty/chromium/ui/gfx/geometry/rect.h
> @@ -26,6 +26,7 @@
> #if defined(OS_WIN)
> typedef struct tagRECT RECT;
> #elif defined(OS_APPLE)
> +#include <CoreGraphics/CoreGraphics.h>
> typedef struct CGRect CGRect;
> #endif
>
> }}}
>
> And actually, this should be done upstream.
--
Ticket URL: <https://trac.macports.org/ticket/66219#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list