FreeBSD Bugzilla – Attachment 250923 Details for
Bug 279257
emulators/virtualbox-ose-additions-legacy fails to build: error: ISO C++17 does not allow 'register' storage class specifier
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow virtualbox-ose-additions-legacy to compile
virtualbox-ose-additions-legacy.diff (text/plain), 1.25 KB, created by
Mikhail Teterin
on 2024-05-24 17:03:27 UTC
(
hide
)
Description:
Allow virtualbox-ose-additions-legacy to compile
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2024-05-24 17:03:27 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/emulators/virtualbox-ose-additions-legacy/Makefile b/emulators/virtualbox-ose-additions-legacy/Makefile >index 249f4bfa6ef6..845f7096d033 100644 >--- a/emulators/virtualbox-ose-additions-legacy/Makefile >+++ b/emulators/virtualbox-ose-additions-legacy/Makefile >@@ -89,6 +89,9 @@ KMK_CONFIG+= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys > VBOX_WITH_X11= > .endif > >+EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 \ >+ --exclude Firmware >+ > .include <bsd.port.pre.mk> > > .if ${COMPILER_TYPE} == clang >@@ -97,6 +100,8 @@ EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Additions-x11-VBoxClient-Makefil > .endif > .endif > >+EXTRA_PATCHES+= ${FILESDIR}/patch-register >+ > post-patch: > @${ECHO_CMD} 'VBOX_ONLY_ADDITIONS = 1' > ${WRKSRC}/LocalConfig.kmk > @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_X11}' >> \ >@@ -131,6 +136,10 @@ post-patch: > ${WRKSRC}/src/VBox/Additions/x11/VBoxClient/Makefile.kmk > @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk > .endif >+.if ${OSVERSION} >= 1400093 >+ @${REINPLACE_CMD} -e 's|enum vtype|enum enum_vtype_uint8|g' \ >+ ${WRKSRC}/src/VBox/Additions/freebsd/vboxvfs/vboxvfs*.[ch] >+.endif > > post-patch-X11-on: > @${ECHO_CMD} 'VBOX_USE_SYSTEM_XORG_HEADERS = 1' >> \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279257
:
250922
| 250923 |
251072
|
251696