diff --git a/sysutils/trueos-libqt5/Makefile b/sysutils/trueos-libqt5/Makefile index e48e32ef8a13..8e5b15bf27c1 100644 --- a/sysutils/trueos-libqt5/Makefile +++ b/sysutils/trueos-libqt5/Makefile @@ -2,7 +2,7 @@ PORTNAME= trueos-libqt5 PORTVERSION= 20171003 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= jt@ixsystems.com @@ -12,11 +12,12 @@ LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 +USES= gl qmake qt:5 shebangfix tar:xz + MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} MAKE_JOBS_UNSAFE= yes -USES= qmake qt:5 shebangfix tar:xz USE_LDCONFIG= yes USE_QT= core gui network svg linguist \ buildtools x11extras widgets diff --git a/sysutils/trueos-libqt5/files/patch-libtrueos_utils_netif.cpp b/sysutils/trueos-libqt5/files/patch-libtrueos_utils_netif.cpp new file mode 100644 index 000000000000..c9ce9d654ca2 --- /dev/null +++ b/sysutils/trueos-libqt5/files/patch-libtrueos_utils_netif.cpp @@ -0,0 +1,14 @@ +--- libtrueos/utils/netif.cpp.orig 2017-08-21 16:44:14 UTC ++++ libtrueos/utils/netif.cpp +@@ -146,11 +146,6 @@ QString NetworkInterface::mediaStatusAsString() + + switch (IFM_TYPE(ifm.ifm_active)) + { +- case IFM_FDDI: +- case IFM_TOKEN: +- if (ifm.ifm_status & IFM_ACTIVE) status = "inserted"; +- else status = "no ring"; +- break; + case IFM_IEEE80211: + if (ifm.ifm_status & IFM_ACTIVE) status = "associated"; + else status = "no carrier";