diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-05-13 22:47:12 +0300 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-05-13 23:33:40 +0300 |
commit | b385e71707e3273c21289041488bae032c3ccbf6 (patch) | |
tree | 5b320e3fc48588d91baf813646988b693c72175e /emulators/virtualbox-ose-71/files/patch-configure | |
parent | emulators/virtualbox-ose{,-kmod,-nox11}-71: Repocopy from emulators/virtualbo... (diff) |
emulators/virtualbox-ose{,-kmod,-nox11}-71: Add new ports VirtualBox 7.1.8
Port based on patch from devel@stasyan.com.
The main work on porting was done by the author of the original patch.
The rest is a dozen various improvements and bug fixes that have been
made over the past few months in older versions: 7.0.x, 6.1.x, 5.2.x.
The requirements for 7.1.x are the same as for 7.0.x, but for now we'll
leave both versions in experimental/test mode.
The following ports also need to be created (they are not available for
version 7.0.x either):
- emulators/virtualbox-ose-additions-71;
- emulators/virtualbox-ose-additions-nox11-71.
www/phpvirtualbox-71 already in ports.
Changelog:
https://www.virtualbox.org/wiki/Changelog-7.1
PR: 284439 271146
Tested by: Mario Lobo <lobo@bsd.com.br>
Relnotes: yes
Diffstat (limited to 'emulators/virtualbox-ose-71/files/patch-configure')
-rw-r--r-- | emulators/virtualbox-ose-71/files/patch-configure | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/emulators/virtualbox-ose-71/files/patch-configure b/emulators/virtualbox-ose-71/files/patch-configure index 992770166b0f..3645d1236ea8 100644 --- a/emulators/virtualbox-ose-71/files/patch-configure +++ b/emulators/virtualbox-ose-71/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2025-04-11 11:59:42 UTC +--- configure.orig 2025-04-14 17:41:37 UTC +++ configure -@@ -154,10 +154,14 @@ if [ "$OS" = "freebsd" ]; then +@@ -158,10 +158,14 @@ if [ "$OS" = "freebsd" ]; then if [ "$OS" = "freebsd" ]; then INCCURL="-I/usr/local/include" LIBCURL="-L/usr/local/lib -lcurl" @@ -15,7 +15,7 @@ else INCCURL="" LIBCURL="-lcurl" -@@ -1207,6 +1211,9 @@ extern "C" int main(int argc, char** argv) +@@ -1211,6 +1215,9 @@ extern "C" int main(int argc, char** argv) printf("found version %d.%d.%d", SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL); #if SDL_VERSION_ATLEAST(1,2,7) @@ -25,7 +25,7 @@ printf(", OK.\n"); return 0; #else -@@ -1291,7 +1298,7 @@ EOF +@@ -1295,7 +1302,7 @@ EOF #endif } EOF @@ -34,15 +34,15 @@ test_execute fi } -@@ -1605,6 +1612,7 @@ EOF - FLGQT5=`pkg-config Qt5Core --cflags` - # gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk) - [ $(($cc_maj * 100 + $cc_min)) -ge 408 ] && FLGQT5="$FLGQT5 -std=c++11" -+ FLGQT5="$FLGQT5 -std=c++11" - INCQT5=`strip_I "$FLGQT5"` - LIBDIR5=`pkg-config Qt5Core --variable=libdir` - LIBQT5=`pkg-config Qt5Core Qt5Gui --libs` -@@ -1861,9 +1869,9 @@ check_libvorbis() +@@ -1599,6 +1606,7 @@ EOF + SDKQT6=$PATH_SDK_QT6 + fi + FLGQT6="-framework QtCore -std=c++17 -Wl,-rpath,`L_to_PATH "$LIBQT6"`" ++ FLGQT6="$FLGQT6 -std=c++11" + else + log_failure "Qt6 framework not found (can be disabled using --disable-qt)" + fail +@@ -1875,9 +1883,9 @@ check_libvorbis() if which_wrapper pkg-config > /dev/null; then libvorbis_ver=`pkg-config vorbis --modversion 2>> $LOG` if [ $? -eq 0 ]; then @@ -54,7 +54,7 @@ fi cat > $ODIR.tmp_src.cc << EOF #include <cstdio> -@@ -1913,7 +1921,7 @@ EOF +@@ -1927,7 +1935,7 @@ EOF return 0; } EOF @@ -63,7 +63,7 @@ if test_compile "$LIBOGG $I_INCOGG" ogg ogg nofatal; then if test_execute; then cnf_append "SDK_VBoxLibOgg_INCS" "$INCOGG" -@@ -2180,8 +2188,8 @@ EOF +@@ -2194,8 +2202,8 @@ EOF echo "compiling the following source file:" >> $LOG cat $ODIR.tmp_src.cc >> $LOG echo "using the following command line:" >> $LOG @@ -74,7 +74,7 @@ if [ $? -eq 0 ]; then found=1 break -@@ -2297,7 +2305,7 @@ check_gsoap() +@@ -2311,7 +2319,7 @@ check_gsoap() else cnf_append "VBOX_GSOAP_CXX_SOURCES" "" fi @@ -83,7 +83,7 @@ gsoap_version=`pkg-config gsoapssl++ --modversion` log_success "found version $gsoap_version" return -@@ -2661,7 +2669,7 @@ for option in "$@"; do +@@ -2687,7 +2695,7 @@ for option in "$@"; do --with-openssl-dir=*) OPENSSLDIR=`echo $option | cut -d'=' -f2` INCCRYPTO="-I${OPENSSLDIR}/include" @@ -92,7 +92,7 @@ # On Darwin (at least for macports) static OpenSSL also needs zlib. [ "$OS" = "darwin" ] && LIBCRYPTO="$LIBCRYPTO ${OPENSSLDIR}/lib/libz.a" # On Linux static OpenSSL typically needs a few additional libraries. -@@ -3028,12 +3036,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then +@@ -3054,12 +3062,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then [ $WITH_JAVA -eq 1 ] && check_java # PulseAudio @@ -121,7 +121,7 @@ fi fi -@@ -3049,14 +3067,6 @@ if [ "$OS" = "linux" ]; then +@@ -3075,14 +3093,6 @@ if [ "$OS" = "linux" ]; then cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1" fi if [ $ONLY_ADDITIONS -eq 0 ]; then |