sysutils/trueos-libqt5: fix build
While here, pet portlint PR: 233102 Approved by: maintainer timeout (jt@ixsystems.com, >2 weeks)
This commit is contained in:
parent
3554ad7ba2
commit
b0173207e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492152
@ -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
|
||||
|
14
sysutils/trueos-libqt5/files/patch-libtrueos_utils_netif.cpp
Normal file
14
sysutils/trueos-libqt5/files/patch-libtrueos_utils_netif.cpp
Normal file
@ -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";
|
Loading…
Reference in New Issue
Block a user