MFH: r553540

audio/musescore: fix build on GCC architectures

FreeBSD is not Linux. For some reason this builds with Clang but not GCC.

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-10-28 12:04:19 +00:00
parent 5a08f4d716
commit 40e42a0769
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=553541

View File

@ -0,0 +1,11 @@
--- thirdparty/google_analytics/ganalytics.cpp.orig 2020-10-28 09:58:53 UTC
+++ thirdparty/google_analytics/ganalytics.cpp
@@ -381,7 +381,7 @@ QString GAnalytics::Private::getSystemInfo()
.arg(QAndroidJniObject::getStaticObjectField<jstring>("android/os/Build", "ID").toString())
.arg(QAndroidJniObject::getStaticObjectField<jstring>("android/os/Build", "BRAND").toString());
}
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_UNIX)
#include <sys/utsname.h>
/**