[MacPorts] #62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
MacPorts
noreply at macports.org
Mon Feb 22 21:52:42 UTC 2021
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
Reporter: dfleck | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur arm64
Port: qt5-qtwebkit |
---------------------------+--------------------------
Comment (by ILMostro):
Thank you, I appreciate it. I did try the patch just now, but it's
reported as failed to apply the patch. I'm assuming that it was just a
matter of downloading the patch file in original format and placing it in
"/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/".
I'm attaching the main log here. The output of the FastMalloc.cpp.rej
file is shown below.
{{{
cat
var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/work
/qtwebkit-opensource-src-5.9.2/Source/WTF/wtf/FastMalloc.cpp.rej
***************
*** 628,634 ****
// sense. In particular, if kMaxSize increases, you may have to
// increase kNumClasses as well.
#if OS(DARWIN)
- # define K_PAGE_SHIFT PAGE_SHIFT
# if (K_PAGE_SHIFT == 12)
# define K_NUM_CLASSES 68
# elif (K_PAGE_SHIFT == 14)
--- 628,638 ----
// sense. In particular, if kMaxSize increases, you may have to
// increase kNumClasses as well.
#if OS(DARWIN)
+ # if CPU(X86_64)
+ # define K_PAGE_SHIFT I386_PGSHIFT
+ # else
+ # define K_PAGE_SHIFT PGSHIFT
+ # endif
# if (K_PAGE_SHIFT == 12)
# define K_NUM_CLASSES 68
# elif (K_PAGE_SHIFT == 14)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list