diff options
author | jkim <jkim@FreeBSD.org> | 2017-03-10 03:21:42 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2017-03-10 03:21:42 +0800 |
commit | 8bace9b456205fe8a9031b6eea97349c9d020eb6 (patch) | |
tree | d554312bd5fabdbb090966b68f97c8d75a4f4cfb /emulators | |
parent | 458d4b47724787023d037c634eb2506cd96a0896 (diff) | |
download | freebsd-ports-gnome-8bace9b456205fe8a9031b6eea97349c9d020eb6.tar.gz freebsd-ports-gnome-8bace9b456205fe8a9031b6eea97349c9d020eb6.tar.zst freebsd-ports-gnome-8bace9b456205fe8a9031b6eea97349c9d020eb6.zip |
Fix build with option QT4.
Submitted by: Walter Schwarzenfeld (w dot schwarzenfeld at utanet dot at)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/virtualbox-ose/Makefile | 3 | ||||
-rw-r--r-- | emulators/virtualbox-ose/files/extrapatch-src_VBox_Frontends_VirtualBox_src_settings_global_UIGlobalSettingsNetworkDetailsHost.cpp | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index e54f88c7966c..6e7a0c1ecd67 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -174,7 +174,8 @@ VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .if ${PORT_OPTIONS:MQT4} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_net_UIDownloaderAdditions.cpp \ - ${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_net_UIDownloaderExtensionPack.cpp + ${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_net_UIDownloaderExtensionPack.cpp \ + ${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_settings_global_UIGlobalSettingsNetworkDetailsHost.cpp CONFIGURE_ARGS+= --enable-qt4 USE_QT4= corelib gui linguist_build moc_build network opengl USE_QT4+= rcc_build uic_build diff --git a/emulators/virtualbox-ose/files/extrapatch-src_VBox_Frontends_VirtualBox_src_settings_global_UIGlobalSettingsNetworkDetailsHost.cpp b/emulators/virtualbox-ose/files/extrapatch-src_VBox_Frontends_VirtualBox_src_settings_global_UIGlobalSettingsNetworkDetailsHost.cpp new file mode 100644 index 000000000000..1c93bf7c096a --- /dev/null +++ b/emulators/virtualbox-ose/files/extrapatch-src_VBox_Frontends_VirtualBox_src_settings_global_UIGlobalSettingsNetworkDetailsHost.cpp @@ -0,0 +1,10 @@ +--- src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetworkDetailsHost.cpp.orig 2017-03-08 17:19:57 UTC ++++ src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetworkDetailsHost.cpp +@@ -243,6 +243,6 @@ QString UIGlobalSettingsNetworkDetailsHo + address.prepend(QString::number(uPart)); + uAddress = uAddress >> 8; + } +- return address.join('.'); ++ return address.join("."); + } + |