same as gcc-8, do the obvious repair so gcc-11 will build again

This commit is contained in:
phessler 2022-07-23 05:27:16 +00:00
parent 3ba614766a
commit f0c755f8c7

View File

@ -255,8 +255,9 @@ post-extract:
perl -pi -e 's,^#define (_GCOMPILER_LIBCXX_HAVE_GETS) .*,/* #undef $$1 */,' \
${WRKDIR}/bootstrap/include/c++/*/*/bits/c++config.h
.endif
chmod 644 ${WRKDIR}/bootstrap/system-libs/lib*.so* # XXX
mkdir -p ${WRKDIR}/bootstrap/system-libs/ # XXX
cp /usr/lib/libc.so.96.1 ${WRKDIR}/bootstrap/system-libs/ # XXX
chmod 644 ${WRKDIR}/bootstrap/system-libs/lib*.so* # XXX
post-install:
.if ${BUILD_PACKAGES:M-ada}