This arg breaks the build of webkitgtk4, because this arg disables the
coordinated graphics, but https://commits.webkit.org/238823@main added
code that requires the coordinated graphics.
After unbreaking webkitgtk4, I can browse a few websites in www/midori
on macppc. Most websites crash their tabs, in the same way that
glxgears crashes, "LLVM ERROR: Relocation type not implemented yet!"
ok ajacoutot@ (maintainer)
This used to work but the flag name has changed in the past. riscv64 is
the only affected arch since its native support is limited to LLInt (and
that one fails to link on OpenBSD).
ok ajacoutot@ (maintainer)
Add powerpc to LLD_ARCH, and bump _SYSTEM_VERSION-powerpc so people
will upgrade to lld-linked packages when they exist. Remove
-Wl,--relax from several ports; ld.bfd needed this flag, but ld.lld
can't take it.
lang/gcc/8 needs USE_LLD = No, because LLD can't link C++ code from
gcc (error: relocation refers to a discarded section: ...), and also,
the adastrap is too old.
To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.
ok sthen@
- remove powerpc specific patch (upstreamed)
- the ENABLE_GRAPHICS_CONTEXT_GL option is now USE_OPENGL_OR_ES
- add a patch that fixes the build when USE_OPENGL_OR_ES is set to
OFF
Javascript runtime on powerpc is mostly broken like it used to be
before 2.30.
OK aja@
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
1) Fix javascript crashes at runtime
Take a patch from Daniel Kolesa @ Void-PPC to avoid segfaults in consumers as
soon as javascript is used. Keep it powerpc-only for now, since it has not
yet been reviewed by upstream and can have consequences on other 32-bit archs.
2) Fix colors
Colors were off as soon as javascript is involved. Disabling context GL fixes
the issue (but hurts performances). Another patch was needed because of a
missing include when this option is disabled.
Thanks to sthen and aja for hints!
OK aja@ (maintainer)
Looks like the same failure that happened on powerpc can also happen on
i386, so always compile the missing function when building on OpenBSD
(not just on 64 bits systems). Maybe a C++ type mismatch between us and
other systems.
powerpc test by cwen@, ok cwen@ ajacoutot@ (maintainer)