mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
PR: 212879 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Reviewed by: matthew Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D9256
11 lines
532 B
C++
11 lines
532 B
C++
--- src/vpninfo.cpp.orig 2016-09-21 11:15:03 UTC
|
|
+++ src/vpninfo.cpp
|
|
@@ -427,6 +427,8 @@ int VpnInfo::connect()
|
|
const QString osName{"mac-intel"};
|
|
#elif defined Q_OS_LINUX
|
|
const QString osName = QString("linux%1").arg(QSysInfo::buildCpuArchitecture() == "i386" ? "" : "-64").toStdString().c_str();
|
|
+#elif defined Q_OS_FREEBSD
|
|
+ const QString osName = QString("freebsd%1").arg(QSysInfo::buildCpuArchitecture() == "i386" ? "" : "-64").toStdString().c_str();
|
|
#else
|
|
#error Define OS string of other platforms...
|
|
#endif
|